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

Method Free

describe.go:222–226  ·  view source on GitHub ↗

Free cleans up the C reference.

()

Source from the content-addressed store, hash-verified

220
221// Free cleans up the C reference.
222func (result *DescribeResult) Free() {
223 runtime.SetFinalizer(result, nil)
224 C.git_describe_result_free(result.ptr)
225 result.ptr = nil
226}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected