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

    Function globSync

    • Synchronously 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 string[]

      An array of pathnames that match the given pattern.