AbstractConstructs .gitignore file entry.
Pattern string without ! prefix and / suffix.
AbstractcurrentThe section the entry with the same pattern currently belongs to.
AbstracteffectParent file in .gitignore format.
AbstractisAbstractmatchPattern string without ! prefix and / suffix.
AbstractsectionParent section of the file in .gitignore format.
AbstractattachAttaches this entry to the file.
In contrast to ignore, this method does not alter the effect of this entry.
Parent section.
Ignores files matching the pattern or re-includes them.
true (the default) to ignore files matching the pattern, or false to re-include them.
Parent section.
AbstractremoveRemoves the pattern from the file.
The entry becomes isDetached after this method call.
Does nothing if the entry is already detached.
Parent section.
AbstractsetOverrides the effect of this entry.
If this entry attached to the section, then modifies the file immediately. Otherwise, the file will be modified only after the entry attachment.
Note that this will be overridden by ignore method call. USe attach one to preserve it.
New effect of the pattern.
this instance.
AbstractsetOverrides the pattern match.
If this entry attached to the section, then modifies the file immediately. Otherwise, the file will be modified only after the entry attachment.
New match of the pattern.
this instance.
An entry of file in .gitignore format.
Every entry belongs to some section of the file.
May be accessed or created with GitIgnoreSection#entry method.
Note that new entry is detached initially. To attach it to the file section call the GitIgnoreEntry.ignore method.