mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
allow getting the current item generically
This commit is contained in:
parent
974c6510b8
commit
0ac402792b
9 changed files with 49 additions and 31 deletions
|
@ -7,3 +7,7 @@ type CommitFile struct {
|
|||
DisplayString string
|
||||
Status int // one of 'WHOLE' 'PART' 'NONE'
|
||||
}
|
||||
|
||||
func (f *CommitFile) ID() string {
|
||||
return f.Name
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue