glob
    Preparing search index...

    Class Pattern

    An immutable-ish view on an array of glob parts and their parsed results

    Index
    • Parameters

      • patternList: ParseReturnFiltered[]
      • globList: string[]
      • index: number
      • platform: Platform

      Returns Pattern

    length: number
    • Check to see if the current globstar pattern is allowed to follow a symbolic link.

      Returns boolean

    • The /-joined set of glob parts that make up this pattern

      Returns string

    • true if there are more pattern parts after this one

      Returns boolean

    • True if the pattern is rooted on an absolute path

      Returns boolean

    • True if the pattern starts with a drive letter on Windows

      Returns boolean

    • true of if pattern() returns GLOBSTAR

      Returns boolean

    • true if pattern() returns a Matcher, for a portion with magic

      Returns boolean

    • true of if pattern() returns a string

      Returns boolean

    • true if the pattern represents a //unc/path/ on windows

      Returns boolean

    • Mark that the current globstar pattern is following a symbolic link

      Returns boolean

    • The first entry in the parsed list of patterns

      Returns ParseReturnFiltered

    • consume the root of the pattern, and return it

      Returns string