libgit2_d.revwalk

Undocumented in source.

Members

Aliases

git_revwalk_hide_cb
alias git_revwalk_hide_cb = int function(const(libgit2_d.oid.git_oid)* commit_id, void* payload)

This is a callback function that user can provide to hide a commit and its parents. If the callback function returns non-zero value, then this commit and its parents will be hidden.

Enums

GIT_SORT_NONE
anonymousenum GIT_SORT_NONE
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_sort_t
enum git_sort_t

Flags to specify the sorting which a revwalk should perform.

Functions

git_revwalk_add_hide_cb
int git_revwalk_add_hide_cb(libgit2_d.types.git_revwalk* walk, .git_revwalk_hide_cb hide_cb, void* payload)

Adds, changes or removes a callback function to hide a commit and its parents

git_revwalk_free
void git_revwalk_free(libgit2_d.types.git_revwalk* walk)

Free a revision walker previously allocated.

git_revwalk_hide
int git_revwalk_hide(libgit2_d.types.git_revwalk* walk, const(libgit2_d.oid.git_oid)* commit_id)

Mark a commit (and its ancestors) uninteresting for the output.

git_revwalk_hide_glob
int git_revwalk_hide_glob(libgit2_d.types.git_revwalk* walk, const(char)* glob)

Hide matching references.

git_revwalk_hide_head
int git_revwalk_hide_head(libgit2_d.types.git_revwalk* walk)

Hide the repository's HEAD

git_revwalk_hide_ref
int git_revwalk_hide_ref(libgit2_d.types.git_revwalk* walk, const(char)* refname)

Hide the OID pointed to by a reference

git_revwalk_new
int git_revwalk_new(libgit2_d.types.git_revwalk** out_, libgit2_d.types.git_repository* repo)

Allocate a new revision walker to iterate through a repo.

git_revwalk_next
int git_revwalk_next(libgit2_d.oid.git_oid* out_, libgit2_d.types.git_revwalk* walk)

Get the next commit from the revision walk.

git_revwalk_push
int git_revwalk_push(libgit2_d.types.git_revwalk* walk, const(libgit2_d.oid.git_oid)* id)

Add a new root for the traversal

git_revwalk_push_glob
int git_revwalk_push_glob(libgit2_d.types.git_revwalk* walk, const(char)* glob)

Push matching references

git_revwalk_push_head
int git_revwalk_push_head(libgit2_d.types.git_revwalk* walk)

Push the repository's HEAD

git_revwalk_push_range
int git_revwalk_push_range(libgit2_d.types.git_revwalk* walk, const(char)* range)

Push and hide the respective endpoints of the given range.

git_revwalk_push_ref
int git_revwalk_push_ref(libgit2_d.types.git_revwalk* walk, const(char)* refname)

Push the OID pointed to by a reference

git_revwalk_repository
libgit2_d.types.git_repository* git_revwalk_repository(libgit2_d.types.git_revwalk* walk)

Return the repository on which this walker is operating.

git_revwalk_reset
int git_revwalk_reset(libgit2_d.types.git_revwalk* walker)

Reset the revision walker for reuse.

git_revwalk_simplify_first_parent
int git_revwalk_simplify_first_parent(libgit2_d.types.git_revwalk* walk)

Simplify the history by first-parent

git_revwalk_sorting
int git_revwalk_sorting(libgit2_d.types.git_revwalk* walk, uint sort_mode)

Change the sorting mode when iterating through the repository's contents.

Meta