User Name method not property

This commit is contained in:
william-allspice 2024-08-23 10:09:26 -05:00
parent a53ff725fd
commit 907176fad0
1 changed files with 2 additions and 2 deletions

View File

@ -186,13 +186,13 @@ func (te *TreeEntry) GetPathInRepo() string {
return ""
}
path := te.name
path := te.Name()
current := te.ptree
for current != nil && current.ptree != nil {
for _, entry := range current.ptree.entries {
if entry.ID == current.ID {
path = entry.name + "/" + path
path = entry.Name() + "/" + path
break
}
}