mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-23 22:24:51 +02:00
appease linter
This commit is contained in:
@@ -212,18 +212,6 @@ type Controllers struct {
|
||||
Global *controllers.GlobalController
|
||||
}
|
||||
|
||||
type listPanelState struct {
|
||||
SelectedLineIdx int
|
||||
}
|
||||
|
||||
func (h *listPanelState) SetSelectedLineIdx(value int) {
|
||||
h.SelectedLineIdx = value
|
||||
}
|
||||
|
||||
func (h *listPanelState) GetSelectedLineIdx() int {
|
||||
return h.SelectedLineIdx
|
||||
}
|
||||
|
||||
// for now the staging panel state, unlike the other panel states, is going to be
|
||||
// non-mutative, so that we don't accidentally end up
|
||||
// with mismatches of data. We might change this in the future
|
||||
|
||||
Reference in New Issue
Block a user