MCPcopy Create free account
hub / github.com/go-git/go-git / Mode

Method Mode

plumbing/object/patch.go:161–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159}
160
161func (f *changeEntryWrapper) Mode() filemode.FileMode {
162 return f.ce.TreeEntry.Mode
163}
164func (f *changeEntryWrapper) Path() string {
165 if !f.ce.TreeEntry.Mode.IsFile() {
166 return ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected