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

Method Empty

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

Source from the content-addressed store, hash-verified

170}
171
172func (f *changeEntryWrapper) Empty() bool {
173 return !f.ce.TreeEntry.Mode.IsFile()
174}
175
176// textFilePatch is an implementation of fdiff.FilePatch interface
177type textFilePatch struct {

Calls 1

IsFileMethod · 0.80