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

Function newDescribeResultFromC

describe.go:183–189  ·  view source on GitHub ↗
(ptr *C.git_describe_result)

Source from the content-addressed store, hash-verified

181}
182
183func newDescribeResultFromC(ptr *C.git_describe_result) *DescribeResult {
184 result := &DescribeResult{
185 ptr: ptr,
186 }
187 runtime.SetFinalizer(result, (*DescribeResult).Free)
188 return result
189}
190
191// Format prints the DescribeResult as a string.
192func (result *DescribeResult) Format(opts *DescribeFormatOptions) (string, error) {

Callers 2

DescribeMethod · 0.85
DescribeWorkdirMethod · 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…