/
githubmirror
/
lazygit
Обзор
Документация
Войти
/
githubmirror
/
lazygit
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pkg/gui/context_config.go
22 строки
508 B
Stefan Haller
Remove some unused code
08 июл 2025, 16:14
08 июл 2025, 16:14
28bb6a0
Код
Авторство
О чём код?
package gui import ( "github.com/jesseduffield/lazygit/pkg/gui/context" "github.com/jesseduffield/lazygit/pkg/gui/types" ) func (gui *Gui) contextTree() *context.ContextTree { contextCommon := &context.ContextCommon{ IGuiCommon: gui.c.IGuiCommon, Common: gui.c.Common, } return context.NewContextTree(contextCommon) } func (gui *Gui) defaultSideContext() types.Context { if gui.State.Modes.Filtering.Active() { return gui.State.Contexts.LocalCommits } return gui.State.Contexts.Files }