1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-25 22:01:14 +02:00
lazygit/pkg/commands/commit_file.go
2020-08-23 14:29:18 +10:00

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
}