tarlatan
    Preparing search index...

    Function isSha1ObjectFormat

    • Whether a git rev-parse --show-object-format run shows a SHA-1 repository: exit 0 and exactly sha1 on one line. Anything else, including SHA-256, is refused, since blobId computes SHA-1 ids only (plan A2).

      Parameters

      • run: { exitCode: number; stderr: string; stdout: string }

      Returns boolean