MCPcopy Create free account
hub / github.com/go-git/go-git / Hash

Method Hash

plumbing/cache/object_test.go:181–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179}
180
181func (d *dummyObject) Hash() plumbing.Hash { return d.hash }
182func (*dummyObject) Type() plumbing.ObjectType { return plumbing.InvalidObject }
183func (*dummyObject) SetType(plumbing.ObjectType) {}
184func (d *dummyObject) Size() int64 { return int64(d.size) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected