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

    Function generateRandomNameForSubdirectory

    • It generates a random directory directory name for a sub-directory. It ensures that the returned directory name doesn't exist.

      Parameters

      • options: GenerateRandomDirectoryOptions

        Options to generate the random directory name.

      Returns Promise<string>

      It returns the name of the directory.