tarlatan
    Preparing search index...

    Function decodeRevParseRevision

    • Decodes rev-parse HEAD in the owner's checkout as a Revision (owner ruling on R2 of the B11a review: Format decodes, not Runtime). Fails when there is no trailing newline or the text before it is not an object id.

      Parameters

      • text: string

      Returns Result<string & Brand<"Revision">, SchemaError>