git_repository_free

Free a previously allocated repository

Note that after a repository is free'd, all the objects it has spawned will still exist until they are manually closed by the user with git_object_free, but accessing any of the attributes of an object without a backing repository will result in undefined behavior

extern (C) nothrow @nogc
void
git_repository_free

Parameters

repo libgit2_d.types.git_repository*

repository handle to close. If null nothing occurs.

Meta