Add feature of display committed file list #383

This commit is contained in:
skanehira
2019-03-16 10:20:27 +11:00
committed by Jesse Duffield
parent 1b6e46973e
commit 06fe726ee7
10 changed files with 174 additions and 13 deletions
+13
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}
}