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

Struct changeEntryWrapper

plumbing/object/patch.go:149–151  ·  view source on GitHub ↗

changeEntryWrapper is an implementation of fdiff.File interface

Source from the content-addressed store, hash-verified

147
148// changeEntryWrapper is an implementation of fdiff.File interface
149type changeEntryWrapper struct {
150 ce ChangeEntry
151}
152
153func (f *changeEntryWrapper) Hash() plumbing.Hash {
154 if !f.ce.TreeEntry.Mode.IsFile() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected