@shopify/cli-kit
    Preparing search index...

    Function glob

    • Traverse the file system and return pathnames that match the given pattern.

      Parameters

      • pattern: string | string[]

        A glob pattern or an array of glob patterns.

      • Optionaloptions: Options

        Options for the glob.

      Returns Promise<string[]>

      A promise that resolves to an array of pathnames that match the given pattern.