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

Function newBlameFromC

blame.go:119–130  ·  view source on GitHub ↗
(ptr *C.git_blame)

Source from the content-addressed store, hash-verified

117}
118
119func newBlameFromC(ptr *C.git_blame) *Blame {
120 if ptr == nil {
121 return nil
122 }
123
124 blame := &Blame{
125 ptr: ptr,
126 }
127
128 runtime.SetFinalizer(blame, (*Blame).Free)
129 return blame
130}
131
132func (blame *Blame) Free() error {
133 if blame.ptr == nil {

Callers 1

BlameFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…