libgit2.ignore

Members

Functions

git_ignore_add_rule
int git_ignore_add_rule(libgit2.types.git_repository* repo, const(char)* rules)

Add ignore rules for a repository.

git_ignore_clear_internal_rules
int git_ignore_clear_internal_rules(libgit2.types.git_repository* repo)

Clear ignore rules that were explicitly added.

git_ignore_path_is_ignored
int git_ignore_path_is_ignored(int* ignored, libgit2.types.git_repository* repo, const(char)* path)

Test if the ignore rules apply to a given path.

Meta

License

GPL-2.0(Linking Exception)