git_tree_lookup

Lookup a tree object from the repository.

extern (C) nothrow @nogc
int
git_tree_lookup

Parameters

out_ libgit2_d.types.git_tree**

Pointer to the looked up tree

repo libgit2_d.types.git_repository*

The repo to use when locating the tree.

id const(libgit2_d.oid.git_oid)*

Identity of the tree to locate.

Return Value

Type: int

0 or an error code

Meta