MCPcopy Create free account
hub / github.com/libgit2/git2go / SetRefdb

Method SetRefdb

repository.go:139–142  ·  view source on GitHub ↗
(refdb *Refdb)

Source from the content-addressed store, hash-verified

137}
138
139func (v *Repository) SetRefdb(refdb *Refdb) {
140 C.git_repository_set_refdb(v.ptr, refdb.ptr)
141 runtime.KeepAlive(v)
142}
143
144func (v *Repository) Free() {
145 ptr := v.ptr

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected