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

Method Free

refspec.go:38–41  ·  view source on GitHub ↗

Free releases a refspec object which has been created by ParseRefspec

()

Source from the content-addressed store, hash-verified

36
37// Free releases a refspec object which has been created by ParseRefspec
38func (s *Refspec) Free() {
39 runtime.SetFinalizer(s, nil)
40 C.git_refspec_free(s.ptr)
41}
42
43// Direction returns the refspec's direction
44func (s *Refspec) Direction() ConnectDirection {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected