Beispiel #1
0
func (repo *Repository) Free() {
	C.git_repository_free(repo.git_repository)
}
Beispiel #2
0
func (v *Repository) Free() {
	runtime.SetFinalizer(v, nil)
	C.git_repository_free(v.ptr)
}
Beispiel #3
0
func (r *GitRepository) Free() {
	runtime.SetFinalizer(r, nil)
	C.git_repository_free(r.ptr)
}
Beispiel #4
0
// 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)
}
Beispiel #5
0
// 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)
}
Beispiel #6
0
func (v *Repo) Free() {
	C.git_repository_free(v.git_repo)
}