git_repository_submodule_cache_clear

Clear the submodule cache.

Clear the submodule cache populated by git_repository_submodule_cache_all. If there is no cache, do nothing.

The cache incorporates data from the repository's configuration, as well as the state of the working tree, the index, and HEAD. So any time any of these has changed, the cache might become invalid.

package extern (C) nothrow @nogc
int
git_repository_submodule_cache_clear

Parameters

repo libgit2_d.types.git_repository*

the repository whose submodule cache will be cleared

Meta