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

    Function removeFile

    • Removes a file or directory (recursively) at the given path.

      Parameters

      • path: string

        Path to the file or directory to be removed.

      • options: RemoveFileOptions = {}

        Retry behavior, passed through to Node's fs.rm. Useful when the removal can race with transient locks, such as an antivirus scanning freshly written files.

      Returns Promise<void>