- GIT_ATTR_HAS_VALUE
bool GIT_ATTR_HAS_VALUE(const(char)* attr)
GIT_ATTR_HAS_VALUE checks if an attribute is set to a value (as
opposed to TRUE, FALSE or UNSPECIFIED). This would be the case if
for a file with something like:
- GIT_ATTR_IS_FALSE
bool GIT_ATTR_IS_FALSE(const(char)* attr)
GIT_ATTR_FALSE checks if an attribute is set off. In core git
parlance, this is the value for attributes that are "Unset" (not to
be confused with values that a "Unspecified").
- GIT_ATTR_IS_TRUE
bool GIT_ATTR_IS_TRUE(const(char)* attr)
GIT_ATTR_TRUE checks if an attribute is set on. In core git
parlance, this the value for "Set" attributes.
- GIT_ATTR_IS_UNSPECIFIED
bool GIT_ATTR_IS_UNSPECIFIED(const(char)* attr)
GIT_ATTR_UNSPECIFIED checks if an attribute is unspecified. This
may be due to the attribute not being mentioned at all or because
the attribute was explicitly set unspecified via the ! operator.
- GIT_ATTR_OPTIONS_INIT
GIT_ATTR_OPTIONS_INIT()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- git_attr_add_macro
int git_attr_add_macro(libgit2.types.git_repository* repo, const(char)* name, const(char)* values)
- git_attr_cache_flush
int git_attr_cache_flush(libgit2.types.git_repository* repo)
Flush the gitattributes cache.
- git_attr_foreach
int git_attr_foreach(libgit2.types.git_repository* repo, uint flags, const(char)* path, .git_attr_foreach_cb callback, void* payload)
Loop over all the git attributes for a path.
- git_attr_foreach_ext
int git_attr_foreach_ext(libgit2.types.git_repository* repo, .git_attr_options* opts, const(char)* path, .git_attr_foreach_cb callback, void* payload)
Loop over all the git attributes for a path with extended options.
- git_attr_get
int git_attr_get(const(char)** value_out, libgit2.types.git_repository* repo, uint flags, const(char)* path, const(char)* name)
Look up the value of one git attribute for path.
- git_attr_get_ext
int git_attr_get_ext(const(char)** value_out, libgit2.types.git_repository* repo, .git_attr_options* opts, const(char)* path, const(char)* name)
Look up the value of one git attribute for path with extended options.
- git_attr_get_many
int git_attr_get_many(const(char)** values_out, libgit2.types.git_repository* repo, uint flags, const(char)* path, size_t num_attr, const(char)** names)
Look up a list of git attributes for path.
- git_attr_get_many_ext
int git_attr_get_many_ext(const(char)** values_out, libgit2.types.git_repository* repo, .git_attr_options* opts, const(char)* path, size_t num_attr, const(char)** names)
Look up a list of git attributes for path with extended options.
- git_attr_value
git_attr_value(const(char)* attr)
Return the value type for a given attribute.
- GIT_ATTR_CHECK_FILE_THEN_INDEX
enum GIT_ATTR_CHECK_FILE_THEN_INDEX;
Check attribute flags: Reading values from index and working directory.
- GIT_ATTR_CHECK_INCLUDE_COMMIT
enum GIT_ATTR_CHECK_INCLUDE_COMMIT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- GIT_ATTR_CHECK_INCLUDE_HEAD
enum GIT_ATTR_CHECK_INCLUDE_HEAD;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- GIT_ATTR_CHECK_INDEX_ONLY
enum GIT_ATTR_CHECK_INDEX_ONLY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- GIT_ATTR_CHECK_INDEX_THEN_FILE
enum GIT_ATTR_CHECK_INDEX_THEN_FILE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- GIT_ATTR_CHECK_NO_SYSTEM
enum GIT_ATTR_CHECK_NO_SYSTEM;
Check attribute flags: controlling extended attribute behavior.
- GIT_ATTR_OPTIONS_VERSION
enum GIT_ATTR_OPTIONS_VERSION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.