mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
Add feature of display committed file list #383
This commit is contained in:
committed by
Jesse Duffield
parent
1b6e46973e
commit
06fe726ee7
13
pkg/commands/commit_file.go
Normal file
13
pkg/commands/commit_file.go
Normal file
@ -0,0 +1,13 @@
|
||||
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}
|
||||
}
|
Reference in New Issue
Block a user