libgit2_d.pathspec

Undocumented in source.

Members

Enums

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

Options controlling how pathspec match should be executed

Functions

git_pathspec_free
void git_pathspec_free(.git_pathspec* ps)

Free a pathspec

git_pathspec_match_diff
int git_pathspec_match_diff(.git_pathspec_match_list** out_, libgit2_d.diff.git_diff* diff, uint flags, .git_pathspec* ps)

Match a pathspec against files in a diff list.

git_pathspec_match_index
int git_pathspec_match_index(.git_pathspec_match_list** out_, libgit2_d.types.git_index* index, uint flags, .git_pathspec* ps)

Match a pathspec against entries in an index.

git_pathspec_match_list_diff_entry
const(libgit2_d.diff.git_diff_delta)* git_pathspec_match_list_diff_entry(const(.git_pathspec_match_list)* m, size_t pos)

Get a matching diff delta by position.

git_pathspec_match_list_entry
const(char)* git_pathspec_match_list_entry(const(.git_pathspec_match_list)* m, size_t pos)

Get a matching filename by position.

git_pathspec_match_list_entrycount
size_t git_pathspec_match_list_entrycount(const(.git_pathspec_match_list)* m)

Get the number of items in a match list.

git_pathspec_match_list_failed_entry
const(char)* git_pathspec_match_list_failed_entry(const(.git_pathspec_match_list)* m, size_t pos)

Get an original pathspec string that had no matches.

git_pathspec_match_list_failed_entrycount
size_t git_pathspec_match_list_failed_entrycount(const(.git_pathspec_match_list)* m)

Get the number of pathspec items that did not match.

git_pathspec_match_list_free
void git_pathspec_match_list_free(.git_pathspec_match_list* m)

Free memory associates with a git_pathspec_match_list

git_pathspec_match_tree
int git_pathspec_match_tree(.git_pathspec_match_list** out_, libgit2_d.types.git_tree* tree, uint flags, .git_pathspec* ps)

Match a pathspec against files in a tree.

git_pathspec_match_workdir
int git_pathspec_match_workdir(.git_pathspec_match_list** out_, libgit2_d.types.git_repository* repo, uint flags, .git_pathspec* ps)

Match a pathspec against the working directory of a repository.

git_pathspec_matches_path
int git_pathspec_matches_path(const(.git_pathspec)* ps, uint flags, const(char)* path)

Try to match a path against a pathspec

git_pathspec_new
int git_pathspec_new(.git_pathspec** out_, const(libgit2_d.strarray.git_strarray)* pathspec)

Compile a pathspec

Structs

git_pathspec
struct git_pathspec

Compiled pathspec

git_pathspec_match_list
struct git_pathspec_match_list

List of filenames matching a pathspec

Meta