summaryrefslogtreecommitdiffstats
path: root/pkg/commands/commit_file.go
blob: 8bc6a11c20b94b8de93d69d6a03a5fc1d7a1653b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package commands

// CommitFile : A git commit file
type CommitFile struct {
	Sha           string
	Name          string
	DisplayString string
}

// GetDisplayStrings is a function.
func (f *CommitFile) GetDisplayStrings(isFocused bool) []string {
	return []string{f.DisplayString}
}