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

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(str : String) #

[View source]

Instance Method Detail

def exclude : Bool #

[View source]
def exclude_self : Bool #

[View source]
def glob : String | Nil #

[View source]
def include_dependencies : Bool #

[View source]
def include_dependents : Bool #

[View source]
def scope : String | Nil #

[View source]
def since : String | Nil #

[View source]