libgit2_d.annotated_commit

Undocumented in source.

Members

Functions

git_annotated_commit_free
void git_annotated_commit_free(libgit2_d.types.git_annotated_commit* commit)

Frees a git_annotated_commit.

git_annotated_commit_from_fetchhead
int git_annotated_commit_from_fetchhead(libgit2_d.types.git_annotated_commit** out_, libgit2_d.types.git_repository* repo, const(char)* branch_name, const(char)* remote_url, const(libgit2_d.oid.git_oid)* id)

Creates a git_annotated_commit from the given fetch head data. The resulting git_annotated_commit must be freed with git_annotated_commit_free.

git_annotated_commit_from_ref
int git_annotated_commit_from_ref(libgit2_d.types.git_annotated_commit** out_, libgit2_d.types.git_repository* repo, const(libgit2_d.types.git_reference)* ref_)

Creates a git_annotated_commit from the given reference. The resulting git_annotated_commit must be freed with git_annotated_commit_free.

git_annotated_commit_from_revspec
int git_annotated_commit_from_revspec(libgit2_d.types.git_annotated_commit** out_, libgit2_d.types.git_repository* repo, const(char)* revspec)

Creates a git_annotated_comit from a revision string.

git_annotated_commit_id
const(libgit2_d.oid.git_oid)* git_annotated_commit_id(const(libgit2_d.types.git_annotated_commit)* commit)

Gets the commit ID that the given git_annotated_commit refers to.

git_annotated_commit_lookup
int git_annotated_commit_lookup(libgit2_d.types.git_annotated_commit** out_, libgit2_d.types.git_repository* repo, const(libgit2_d.oid.git_oid)* id)

Creates a git_annotated_commit from the given commit id. The resulting git_annotated_commit must be freed with git_annotated_commit_free.

git_annotated_commit_ref
const(char)* git_annotated_commit_ref(const(libgit2_d.types.git_annotated_commit)* commit)

Get the refname that the given git_annotated_commit refers to.

Meta