We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gogit
1 parent 429fac5 commit 3dbee79Copy full SHA for 3dbee79
modules/git/tree_entry_gogit.go
@@ -55,6 +55,10 @@ func (te *TreeEntry) Size() int64 {
55
return te.size
56
}
57
58
+func (te *TreeEntry) FullPath() bool {
59
+ return te.Name()
60
+}
61
+
62
// IsSubModule if the entry is a sub module
63
func (te *TreeEntry) IsSubModule() bool {
64
return te.gogitTreeEntry.Mode == filemode.Submodule
modules/git/tree_entry_nogogit.go
@@ -55,6 +55,7 @@ func (te *TreeEntry) Size() int64 {
te.sized = true
func (te *TreeEntry) FullPath() string {
if te.fullName == "" {
return te.Name()
0 commit comments