Abstract
Constructs .gitignore
file section.
Parent file in .gitignore
format.
Section title. I.e. comment preceding it.
Parent file in .gitignore
format.
Section title. I.e. comment preceding it.
Abstract
entriesIterates over section entries.
Iterable iterator of section entries.
Abstract
entryFinds existing .gitignore
file entry or creates new one.
If entry already attached to another section, then the returned entry would reflect existing one, while its current section would point to another section. The returned entry will be detached in this case.
The section of returned entry always returns to this
section. The returned entry
will be detached, unless it already attached to this section.
Entry pattern.
File entry.
Abstract
replace
A section of file in .gitignore format.
Each section starts with a title comment, except possibly for the very first one. The title of such section is empty string.
The section consists of rules following the title comment.