1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-23 00:39:13 +02:00

Make Node.path private

This is in preparation for changing the meaning of path in the next commit.
This commit is contained in:
Stefan Haller
2025-02-28 21:15:15 +01:00
parent 3f4cb8bdda
commit 0b42cfb568
8 changed files with 106 additions and 105 deletions

View File

@ -27,7 +27,7 @@ type CommitFileTree struct {
func (self *CommitFileTree) CollapseAll() {
dirPaths := lo.FilterMap(self.GetAllItems(), func(file *CommitFileNode, index int) (string, bool) {
return file.Path, !file.IsFile()
return file.path, !file.IsFile()
})
for _, path := range dirPaths {