[ Web Proxy ]
URL:
Viewing: https://libgit2.org/docs/reference/v0.16.0/commit/git_commit_tree_oid.html [Back]  [Original]

git_commit_tree_oid (libgit2 v0.16.0)
libgit2 [libgit2]

git_commit_tree_oid

Version: v0.17.0 v0.16.0 v0.15.0 v0.14.0 v0.13.0 v0.12.0

Get the id of the tree pointed to by a commit. This differs from git_commit_tree in that no attempts are made to fetch an object from the ODB.

Signature

const git_oid *git_commit_tree_oid(git_commit *commit);

Parameters

In
commit

a previously loaded commit.

Returns

the id of tree pointed to by commit.

Versions

This open sourced site is hosted on GitHub. Patches, suggestions, and comments are welcome.

Web Proxy Viewer  |  New URL  |  Original Page