mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-30 09:16:47 +02:00
14 lines
289 B
Go
14 lines
289 B
Go
package commands
|
|
|
|
// StashEntry : A git stash entry
|
|
type StashEntry struct {
|
|
Index int
|
|
Name string
|
|
DisplayString string
|
|
}
|
|
|
|
// GetDisplayStrings returns the dispaly string of branch
|
|
func (s *StashEntry) GetDisplayStrings() []string {
|
|
return []string{s.DisplayString}
|
|
}
|