mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
Add feature of display committed file list #383
This commit is contained in:
parent
1b6e46973e
commit
06fe726ee7
10 changed files with 174 additions and 13 deletions
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}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue