Class GitIgnoreSectionAbstract

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.

Constructors

Accessors

Methods

  • Replaces entries of this section.

    Retains only entries added by the build function and removes the rest of them.

    Parameters

    • build: ((section: this) => void)

      Builds section entries.

        • (section): void
        • Parameters

          • section: this

          Returns void

    Returns this

    this instance.