mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-29 00:51:35 +02:00
start moving commit panel handlers into controller
more and more move rebase commit refreshing into existing abstraction and more and more WIP and more handling clicks properly fix merge conflicts update cheatsheet lots more preparation to start moving things into controllers WIP better typing expand on remotes controller moving more code into controllers
This commit is contained in:
docs/keybindings
pkg
cheatsheet
commands
gui
app_status_manager.goarrangement.gobasic_context.gobisect.gobranches_panel.gocherry_picking.gocommand_log_panel.gocommit_files_panel.gocommit_message_panel.gocommits_panel.goconfirmation_panel.gocontext.go
context
context_config.gocontrollers
bisect_controller.gocontroller_common.gofiles_controller.golocal_commits_controller.gomenu_controller.goremotes_controller.gosubmodules_controller.gosync_controller.gotags_controller.gotypes.goundo_controller.go
credentials_panel.gocustom_commands.godiff_context_size.godiff_context_size_test.godiffing.godiscard_changes_menu_panel.goeditors.goextras_panel.gofile_helper.gofile_watching.gofiles_panel.gofiletree
filtering.gofiltering_menu_panel.gogit_flow.goglobal_handlers.gogpg.gogui.gogui_common.goinformation_panel.gokeybindings.golayout.goline_by_line_panel.golist_context.golist_context_config.gomain_panels.gomenu_panel.gomerge_panel.gomisc.gomodes.gooptions_menu_panel.gopatch_building_panel.gopatch_options_panel.gopopup
pty.gopull_request_menu_panel.goquitting.gorebase_options_panel.gorecent_repos_panel.goref_helper.goreflog_panel.goremote_branches_panel.goremotes_panel.goreset_menu_panel.gosearching.gostaging_panel.gostash_panel.gostatus_panel.gostyle
sub_commits_panel.gosubmodules_panel.gosuggestions_helper.gotags_panel.gotasks_adapter.gotypes
updates.goview_helpers.gowhitespace-toggle.goworking_tree_helper.goworkspace_reset_options_panel.goi18n
test/integration/commit/expected/.git_keep
@ -2,6 +2,7 @@ package filetree
|
||||
|
||||
import (
|
||||
"github.com/jesseduffield/lazygit/pkg/commands/models"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/types"
|
||||
)
|
||||
|
||||
type CommitFileNode struct {
|
||||
@ -12,8 +13,7 @@ type CommitFileNode struct {
|
||||
}
|
||||
|
||||
var _ INode = &CommitFileNode{}
|
||||
|
||||
// methods satisfying ListItem interface
|
||||
var _ types.ListItem = &CommitFileNode{}
|
||||
|
||||
func (s *CommitFileNode) ID() string {
|
||||
return s.GetPath()
|
||||
|
Reference in New Issue
Block a user