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

Callers 1

EncodeMethod · 0.95

Calls 2

SumMethod · 0.80
WriteMethod · 0.45

Tested by

no test coverage detected