libgit2

git_tree_owner

Version:

Get the repository that contains the tree.

Signature

git_repository *git_tree_owner(const git_tree *tree);

Parameters

In
tree

A previously loaded tree.

Returns

Repository that contains this tree.

Versions