MCPcopy
hub / github.com/go-git/go-git / encodeFooter

Method encodeFooter

plumbing/format/index/encoder.go:242–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240}
241
242func (e *Encoder) encodeFooter() error {
243 return binary.Write(e.w, e.hash.Sum(nil))
244}
245
246type byName []*Entry
247

Callers 3

encodeMethod · 0.95

Calls 2

WriteFunction · 0.92
SumMethod · 0.80

Tested by 2