mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-30 17:04:46 +03:00
14 lines
270 B
Go
14 lines
270 B
Go
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}
|
|
}
|