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

Method encodeEntryName

plumbing/format/index/encoder.go:156–158  ·  view source on GitHub ↗
(entry *Entry)

Source from the content-addressed store, hash-verified

154}
155
156func (e *Encoder) encodeEntryName(entry *Entry) error {
157 return binary.Write(e.w, []byte(entry.Name))
158}
159
160func (e *Encoder) encodeEntryNameV4(entry *Entry) error {
161 // V4 prefix compression: find the longest common prefix between the

Callers 1

encodeEntryMethod · 0.95

Calls 1

WriteFunction · 0.92

Tested by

no test coverage detected