Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-git
/ encodeFooter
Method
encodeFooter
plumbing/format/index/encoder.go:157–159 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
155
}
156
157
func
(e *Encoder) encodeFooter() error {
158
return
binary.Write(e.w, e.hash.Sum(nil))
159
}
160
161
type
byName []*Entry
162
Callers
1
Encode
Method · 0.95
Calls
2
Write
Function · 0.92
Sum
Method · 0.80
Tested by
no test coverage detected