struct Zap::Workspaces::Filter
Defined in:
workspaces/filter.cr
Constant Summary
-
EXCLUDE =
/(?P<exclude>!)/
-
GLOB =
/(#{GLOB_CURLY}|#{GLOB_RELATIVE})/
-
GLOB_CURLY =
/\{(?P<glob>[^}]+)\}/
-
GLOB_RELATIVE =
/\.\/(?P<glob>[^{}[\]]+)/
-
PATTERN =
/^#{EXCLUDE}?#{PREFIX}?#{SCOPE}?#{GLOB}?#{SINCE}?#{SUFFIX}?$/
-
PREFIX =
/(?P<prefix>\.\.\.\^?)/
-
SCOPE =
/(?P<scope>[^.][^(?!\.\.\.|^\.\.\.){}[\]]*)/
-
SINCE =
/(\[(?P<since>[^\]]+)\])/
-
SUFFIX =
/(?P<suffix>\^?\.\.\.)/
Constructors
Instance Method Summary
Constructor Detail
def self.
new(str : String)
#
Instance Method Detail
def
exclude_self : Bool
#
def
glob : String | Nil
#
def
include_dependencies : Bool
#
def
include_dependents : Bool
#
def
scope : String | Nil
#
def
since : String | Nil
#