mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04: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
|
|
}
|