TomGitignoreSet class
Several .gitignore files, as git reads them together: each speaks for
the paths under its own folder, and a later file's verdict overrides an
earlier one's. Add the files root first, so a deeper file wins.
Constructors
Properties
-
files
→ List<
TomGitignore> -
The files, in the order they are consulted.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
TomGitignore file) → void -
clear(
) → void -
isIgnored(
String path, {required bool isDirectory}) → bool -
Whether
path(relative to the root,/-separated) is ignored. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited