git_revwalk_sorting

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

Changing the sorting mode resets the walker.

extern (C) nothrow @nogc
int
git_revwalk_sorting

Parameters

walk libgit2_d.types.git_revwalk*

the walker being used for the traversal.

sort_mode uint

combination of GIT_SORT_XXX flags

Return Value

Type: int

0 or an error code

Meta