diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-03-26 16:37:01 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-30 13:19:53 +1000 |
commit | 19cbafcdfc5af030413872c61b33fd526dacfe68 (patch) | |
tree | 291e4f64b6c75596a4f02a830e90e6d56bb42e6c /pkg/gui | |
parent | f2c85c5b19176a959ac5d98f57749ee6bc9c362b (diff) |
remove unused file
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/gui_common.go | 2 | ||||
-rw-r--r-- | pkg/gui/refresh.go | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/pkg/gui/gui_common.go b/pkg/gui/gui_common.go index 3171cba78..32eea569f 100644 --- a/pkg/gui/gui_common.go +++ b/pkg/gui/gui_common.go @@ -25,7 +25,7 @@ func (self *guiCommon) LogCommand(cmdStr string, isCommandLine bool) { } func (self *guiCommon) Refresh(opts types.RefreshOptions) error { - return self.gui.Refresh(opts) + return self.gui.helpers.Refresh.Refresh(opts) } func (self *guiCommon) PostRefreshUpdate(context types.Context) error { diff --git a/pkg/gui/refresh.go b/pkg/gui/refresh.go deleted file mode 100644 index 8861945d3..000000000 --- a/pkg/gui/refresh.go +++ /dev/null @@ -1,9 +0,0 @@ -package gui - -import ( - "github.com/jesseduffield/lazygit/pkg/gui/types" -) - -func (gui *Gui) Refresh(options types.RefreshOptions) error { - return gui.helpers.Refresh.Refresh(options) -} |