Add feature of display committed file list #383

This commit is contained in:
skanehira 2019-03-09 23:42:10 +09:00 committed by Jesse Duffield
parent 1b6e46973e
commit 06fe726ee7
10 changed files with 174 additions and 13 deletions

View file

@ -0,0 +1,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}
}