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 Ignore
no setter
ignoreFilePath String

Available on Ignore, provided by the IgnoreCommons extension

Path to ignoreFile
no setter
patternsToIgnore List<String>

Available on Ignore, provided by the IgnoreCommons extension

Extracts patterns to ignore from ignoreFile
no 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 a pattern 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 a pattern from the ignoreFile
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited