Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
22
func
(e *EncodedObject) Hash() plumbing.Hash {
23
return
e.h
24
}
25
26
func
(e *EncodedObject) Reader() (io.ReadCloser, error) {
27
f, err := e.dir.Object(e.h)
Callers
2
TestCommit
Method · 0.95
TestEncodedObjectAndEncodedObjectSize
Method · 0.95
Calls
no outgoing calls
Tested by
2
TestCommit
Method · 0.76
TestEncodedObjectAndEncodedObjectSize
Method · 0.76