glob
    Preparing search index...

    Class Ignore

    Class used to process ignored patterns

    Implements

    Index
    • Patterns that start with / (but not drive letters or UNC paths on Windows) start at the root option if it is set, or else at the root of cwd, the same as non-ignored patterns. If cwd is not provided, they start at /.

      Parameters

      Returns Ignore

    absolute: Minimatch[]
    absoluteChildren: Minimatch[]
    mmopts: MinimatchOptions
    platform: Platform
    relative: Minimatch[]
    relativeChildren: Minimatch[]
    slashRoot: string

    The escaped glob for the directory that a pattern starting with / is rooted at, with no trailing /.

    • The same as Ignore.ignored, for a path that has no Path object.

      Parameters

      • relative: string

        The string that Path#relative() gives for the path. Only used if there are relative patterns.

      • fullpath: string

        The string that Path#fullpath() gives for the path. Only used if there are absolute patterns.

      Returns boolean