git_attr_cache_flush

Flush the gitattributes cache.

Call this if you have reason to believe that the attributes files on disk no longer match the cached contents of memory. This will cause the attributes files to be reloaded the next time that an attribute access function is called.

extern (C) nothrow @nogc
int
git_attr_cache_flush

Parameters

repo libgit2_d.types.git_repository*

The repository containing the gitattributes cache

Return Value

Type: int

0 on success, or an error code

Meta