mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-26 05:37:18 +02:00
18 lines
311 B
Go
18 lines
311 B
Go
package commands
|
|
|
|
// CommitFile : A git commit file
|
|
type CommitFile struct {
|
|
Parent string
|
|
Name string
|
|
DisplayString string
|
|
Status int // one of 'WHOLE' 'PART' 'NONE'
|
|
}
|
|
|
|
func (f *CommitFile) ID() string {
|
|
return f.Name
|
|
}
|
|
|
|
func (f *CommitFile) Description() string {
|
|
return f.Name
|
|
}
|