Skip to content

headId

Get the OID for the submodule in the current HEAD tree.

Signature

ts
class Submodule {
  headId(): string | null;
}

Returns

  • null | string

    The OID for the submodule in the current HEAD tree.

Released under the MIT License.