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

    Function isClean

    • Returns true if the .git directory tree is clean (no uncommitted changes).

      Parameters

      • Optionaldirectory: string

        The directory to check.

      Returns Promise<boolean>

      True is the .git directory is clean.