summaryrefslogtreecommitdiffstats
path: root/pkg/commands/commit_file.go
blob: 5910ccfeccbd04a115272d3a9c52ae45db3f5932 (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() []string {
	return []string{f.DisplayString}
}