Skip to content

findTag

Lookup a tag object by prefix hash from the repository.

Signature

ts
class Repository {
  findTag(oid: string): Tag | null;
}

Parameters

  • oidrequired · string

    Prefix hash.

Returns

  • null | Tag

    Returns null if tag does not exist.

Released under the MIT License.