module

Ignore

Constants

VERSION = "0.4.1"

Class methods

from_directory(root : String, ignore_file : String = ".gitignore") : Matcher

Load all ignore files from a directory tree Patterns from deeper directories take precedence (loaded after shallower ones)

Source
ignores?(path : String, patterns : String) : Bool

Quick check if a path matches patterns

Source
parse(content : String) : Matcher

Parse gitignore content and return a Matcher

Source
root(root : String, ignore_file : String = ".gitignore") : Matcher

Load all ignore files from a directory tree Patterns from deeper directories take precedence (loaded after shallower ones)

Source

Nested types