mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
split context common from helper common
This commit is contained in:
@ -1,5 +1,21 @@
|
||||
package helpers
|
||||
|
||||
import (
|
||||
"github.com/jesseduffield/lazygit/pkg/common"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/context"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/types"
|
||||
)
|
||||
|
||||
type HelperCommon struct {
|
||||
*common.Common
|
||||
types.IGuiCommon
|
||||
IGetContexts
|
||||
}
|
||||
|
||||
type IGetContexts interface {
|
||||
Contexts() *context.ContextTree
|
||||
}
|
||||
|
||||
type Helpers struct {
|
||||
Refs *RefsHelper
|
||||
Bisect *BisectHelper
|
||||
|
Reference in New Issue
Block a user