git_repository__cleanup

Reset all the internal state in a repository.

This will free all the mapped memory and internal objects of the repository and leave it in a "blank" state.

There's no need to call this function directly unless you're trying to aggressively cleanup the repo before its deallocation. git_repository_free already performs this operation before deallocating the repo.

@param repo The repository to clean up @return 0 on success, or an error code

package extern (C) nothrow @nogc
int
git_repository__cleanup

Meta