1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-12-05 23:18:28 +02:00

add description field to ListItem interface

This commit is contained in:
Jesse Duffield
2020-08-22 10:14:53 +10:00
parent 63209ef71e
commit 8da93fd762
9 changed files with 36 additions and 4 deletions

View File

@@ -15,3 +15,7 @@ func (s *StashEntry) RefName() string {
func (s *StashEntry) ID() string {
return s.RefName()
}
func (s *StashEntry) Description() string {
return s.RefName() + ": " + s.Name
}