github.com/dawidd6/lazygit@v0.8.1/pkg/commands/commit_file.go (about)

     1  package commands
     2  
     3  // CommitFile : A git commit file
     4  type CommitFile struct {
     5  	Sha           string
     6  	Name          string
     7  	DisplayString string
     8  }
     9  
    10  // GetDisplayStrings is a function.
    11  func (f *CommitFile) GetDisplayStrings(isFocused bool) []string {
    12  	return []string{f.DisplayString}
    13  }