libgit2

git_repository_close

Version:

Force a garbage collector pass on the repository

This will force-free any cached objects that have been previously marked by the user as closed (git_object_close).

Signature

void git_repository_close(git_repository *repo);

Parameters

In
repo

repository handle to collect. If NULL nothing occurs.

Versions