MCPcopy Index your code
hub / github.com/go-git/go-git / Hash

Method Hash

storage/filesystem/dotgit/reader.go:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func (e *EncodedObject) Hash() plumbing.Hash {
23 return e.h
24}
25
26func (e *EncodedObject) Reader() (io.ReadCloser, error) {
27 f, err := e.dir.Object(e.h)

Callers 2

TestCommitMethod · 0.95

Calls

no outgoing calls

Tested by 2

TestCommitMethod · 0.76