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

Struct DescribeResult

describe.go:178–181  ·  view source on GitHub ↗

DescribeResult represents the output from the 'git_describe_commit' and 'git_describe_workdir' functions in libgit2. Use Format() to get a string out of it.

Source from the content-addressed store, hash-verified

176//
177// Use Format() to get a string out of it.
178type DescribeResult struct {
179 doNotCompare
180 ptr *C.git_describe_result
181}
182
183func newDescribeResultFromC(ptr *C.git_describe_result) *DescribeResult {
184 result := &DescribeResult{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected