func (repo *Repository) Free() { C.git_repository_free(repo.git_repository) }
func (v *Repository) Free() { runtime.SetFinalizer(v, nil) C.git_repository_free(v.ptr) }
func (r *GitRepository) Free() { runtime.SetFinalizer(r, nil) C.git_repository_free(r.ptr) }
// Frees memory associated with the Reference. The repository should be // considered invalid after this operation. func (r Reference) Free() { C.git_repository_free(r.ref) }
// Frees memory associated with the repository. The repository handle should // be considered invalid after this operation. func (r Repository) Free() { C.git_repository_free(r.repo) }
func (v *Repo) Free() { C.git_repository_free(v.git_repo) }