libgit2

git_attr_cache_flush

Version:

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.

Signature

void git_attr_cache_flush(git_repository *repo);

Parameters

Versions