Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/go-git/go-git
/ encodeChecksum
Method
encodeChecksum
plumbing/format/commitgraph/v2/encoder.go:247–250 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
245
}
246
247
func
(e *Encoder) encodeChecksum() error {
248
_, err := e.Write(e.hash.Sum(nil)[:hash.Size])
249
return
err
250
}
Callers
1
Encode
Method · 0.95
Calls
2
Sum
Method · 0.80
Write
Method · 0.45
Tested by
no test coverage detected