mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
14 lines
284 B
Go
14 lines
284 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(isFocused bool) []string {
|
|
return []string{f.DisplayString}
|
|
}
|