github.com/andrewrech/lazygit@v0.8.1/pkg/commands/stash_entry.go (about)

     1  package commands
     2  
     3  // StashEntry : A git stash entry
     4  type StashEntry struct {
     5  	Index         int
     6  	Name          string
     7  	DisplayString string
     8  }
     9  
    10  // GetDisplayStrings returns the dispaly string of branch
    11  func (s *StashEntry) GetDisplayStrings(isFocused bool) []string {
    12  	return []string{s.DisplayString}
    13  }