Skip to content

asObject

Casts this Commit to be usable as an GitObject.

Signature

ts
class Commit {
  asObject(): GitObject;
}

Returns

  • GitObject

    GitObject that casted from this commit.

Released under the MIT License.