Method: Rugged::Repository#close
- Defined in:
- ext/rugged/rugged_repo.c
#close ⇒ nil
Frees all the resources used by this repository immediately. The repository can still be used after this call. Resources will be opened as necessary.
It is not required to call this method explicitly. Repositories are closed automatically before garbage collection
1901 1902 1903 1904 1905 1906 1907 1908 1909 |
# File 'ext/rugged/rugged_repo.c', line 1901
static VALUE rb_git_repo_close(VALUE self)
{
git_repository *repo;
Data_Get_Struct(self, git_repository, repo);
git_repository__cleanup(repo);
return Qnil;
}
|