glob
    Preparing search index...

    Class MatchRecord

    A record of which paths have been matched in a given walk step, and whether they only are considered a match if they are a directory, and whether their absolute or relative path should be returned. flags[i] has the MatchRecord.ABSOLUTE and MatchRecord.IF_DIR flags of paths[i].

    Index
    flags: number[] = []
    paths: Path[] = []
    ABSOLUTE: 2
    IF_DIR: 1
    • Add a match that can be anywhere in the record already.

      Parameters

      • target: Path
      • absolute: boolean
      • ifDir: boolean

      Returns void