struct Zap::Utils::Git::Ignore::Pattern

Defined in:

utils/git/ignore.cr

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(pattern : String) #

See: https://git-scm.com/docs/gitignore#_pattern_format


[View source]

Instance Method Detail

def match?(entry : String) : Bool #

[View source]
def match_only_directories : Bool #

[View source]
def negated : Bool #

[View source]
def regex : Regex | Nil #

[View source]