Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/go-git/go-git
/ encodeChecksum
Method
encodeChecksum
plumbing/format/commitgraph/encoder.go:198–201 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
196
}
197
198
func
(e *Encoder) encodeChecksum() error {
199
_, err := e.Write(e.hash.Sum(nil)[:hash.Size])
200
return
err
201
}
Callers
1
Encode
Method · 0.95
Calls
2
Sum
Method · 0.80
Write
Method · 0.45
Tested by
no test coverage detected