Type alias FilterHandler

FilterHandler: ((entry, relativePath, options) => boolean)

Type declaration

    • (entry, relativePath, options): boolean
    • Extension point used to control which files or directories should be included in the comparison.

      Parameters

      • entry: Entry

        Filesystem entry to include or ignore.

      • relativePath: string

        Path relative to the root directory of the comparison. It depends on origin.

      • options: Options

      Returns boolean

      Returns true if the entry is to be processed or false to ignore it.

Generated using TypeDoc