Ignore class
Represents an ignore file in memory
- Available extensions
Constructors
- Ignore.new(Repository repository)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreFile → File
-
Available on Ignore, provided by the IgnoreCommons extension
Actual file for the Ignoreno setter - ignoreFilePath → String
-
Available on Ignore, provided by the IgnoreCommons extension
Path to ignoreFileno setter -
patternsToIgnore
→ List<
String> -
Available on Ignore, provided by the IgnoreCommons extension
Extracts patterns to ignore from ignoreFileno setter - repository → Repository
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addIgnore(
String pattern, {dynamic onAlreadyPresent()?, dynamic onAdded()?}) → void -
Available on Ignore, provided by the IgnoreStorage extension
Adds apattern
to an ignoreFile -
createIgnoreFile(
{dynamic onAlreadyExists()? = onIgnoreFileAlreadyExists, dynamic onSuccessfullyCreated()? = onIgnoreFileSuccessfullyCreated, dynamic onRepositoryNotInitialized()? = onRepositoryNotInitialized}) → void -
Available on Ignore, provided by the IgnoreActions extension
Creates an ignoreFile -
deleteIgnoreFile(
{dynamic onDoesntExists()? = onIgnoreFileDoesntExists, dynamic onSuccessfullyDeleted()? = onIgnoreFileSuccessfullyDeleted, dynamic onRepositoryNotInitialized()? = onRepositoryNotInitialized}) → void -
Available on Ignore, provided by the IgnoreActions extension
Deletes an ignoreFile -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeIgnore(
{required String pattern, dynamic onNotFoundPresent()?, dynamic onRemoved()?}) → void -
Available on Ignore, provided by the IgnoreStorage extension
Remove apattern
from the ignoreFile -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited