MCPcopy 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
247func (e *Encoder) encodeChecksum() error {
248 _, err := e.Write(e.hash.Sum(nil)[:hash.Size])
249 return err
250}

Callers 1

EncodeMethod · 0.95

Calls 2

SumMethod · 0.80
WriteMethod · 0.45

Tested by

no test coverage detected