mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
remove collapsed field
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package models
|
||||
|
||||
// sometimes we need to deal with either a node (which contains a file) or an actual file
|
||||
type IFileChange interface {
|
||||
GetHasUnstagedChanges() bool
|
||||
GetHasStagedChanges() bool
|
||||
|
@ -12,8 +12,7 @@ type FileChangeNode struct {
|
||||
Children []*FileChangeNode
|
||||
File *File
|
||||
Path string // e.g. '/path/to/mydir'
|
||||
Collapsed bool
|
||||
CompressionLevel int // equal to the number of forward slashes you'll see in the path when it's rendered in tree mode
|
||||
CompressionLevel int // equal to the number of forward slashes you'll see in the path when it's rendered in tree mode
|
||||
}
|
||||
|
||||
func (s *FileChangeNode) GetHasUnstagedChanges() bool {
|
||||
|
Reference in New Issue
Block a user