Skip to content

revparseSingle

Find a single object, as specified by a revision string.

Signature

ts
class Repository {
  revparseSingle(spec: string): string;
}

Parameters

  • specrequired · string

    Revision string.

Returns

  • string

    OID of single object.

Errors

  • Error

    Throws error if the object does not exist.

Released under the MIT License.