Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BisectView ¶
type BisectView struct {
// contains filtered or unexported fields
}
BisectView manages interactive git bisect.
func NewBisectView ¶
func NewBisectView(gitSvc git.Service, styles ui.Styles) *BisectView
NewBisectView creates a new BisectView.
func (*BisectView) Init ¶
func (v *BisectView) Init() tea.Cmd
func (*BisectView) InputCapture ¶
func (v *BisectView) InputCapture() bool
func (*BisectView) SetSize ¶
func (v *BisectView) SetSize(w, h int)
func (*BisectView) ShortHelp ¶
func (v *BisectView) ShortHelp() []components.HelpEntry
func (*BisectView) View ¶
func (v *BisectView) View() string
type BranchView ¶
type BranchView struct {
// contains filtered or unexported fields
}
BranchView manages branches.
func NewBranchView ¶
func NewBranchView(gitSvc git.Service, styles ui.Styles) *BranchView
NewBranchView creates a new BranchView.
func (*BranchView) Init ¶
func (v *BranchView) Init() tea.Cmd
func (*BranchView) InputCapture ¶
func (v *BranchView) InputCapture() bool
func (*BranchView) SetSize ¶
func (v *BranchView) SetSize(w, h int)
func (*BranchView) ShortHelp ¶
func (v *BranchView) ShortHelp() []components.HelpEntry
func (*BranchView) View ¶
func (v *BranchView) View() string
type ConflictView ¶
type ConflictView struct {
// contains filtered or unexported fields
}
ConflictView helps resolve merge conflicts.
func NewConflictView ¶
func NewConflictView(gitSvc git.Service, styles ui.Styles) *ConflictView
NewConflictView creates a new ConflictView.
func (*ConflictView) Init ¶
func (v *ConflictView) Init() tea.Cmd
func (*ConflictView) InputCapture ¶
func (v *ConflictView) InputCapture() bool
func (*ConflictView) SetSize ¶
func (v *ConflictView) SetSize(w, h int)
func (*ConflictView) ShortHelp ¶
func (v *ConflictView) ShortHelp() []components.HelpEntry
func (*ConflictView) View ¶
func (v *ConflictView) View() string
type DiffView ¶
type DiffView struct {
// contains filtered or unexported fields
}
DiffView shows the diff for all changes or a selected file.
func NewDiffView ¶
NewDiffView creates a new DiffView.
func (*DiffView) InputCapture ¶
func (*DiffView) ShortHelp ¶
func (v *DiffView) ShortHelp() []components.HelpEntry
type LogView ¶
type LogView struct {
// contains filtered or unexported fields
}
LogView shows the commit log with an ASCII graph.
func NewLogView ¶
NewLogView creates a new LogView.
func (*LogView) InputCapture ¶
func (*LogView) ShortHelp ¶
func (v *LogView) ShortHelp() []components.HelpEntry
type PlaceholderView ¶
type PlaceholderView struct {
// contains filtered or unexported fields
}
PlaceholderView is a temporary stub for tabs not yet implemented.
func NewPlaceholderView ¶
func NewPlaceholderView(name string, styles ui.Styles) *PlaceholderView
NewPlaceholderView creates a placeholder with the given tab name.
func (*PlaceholderView) Init ¶
func (v *PlaceholderView) Init() tea.Cmd
func (*PlaceholderView) InputCapture ¶
func (v *PlaceholderView) InputCapture() bool
func (*PlaceholderView) SetSize ¶
func (v *PlaceholderView) SetSize(w, h int)
func (*PlaceholderView) ShortHelp ¶
func (v *PlaceholderView) ShortHelp() []components.HelpEntry
func (*PlaceholderView) View ¶
func (v *PlaceholderView) View() string
type RebaseView ¶
type RebaseView struct {
// contains filtered or unexported fields
}
RebaseView handles interactive rebase operations.
func NewRebaseView ¶
func NewRebaseView(gitSvc git.Service, styles ui.Styles) *RebaseView
NewRebaseView creates a new RebaseView.
func (*RebaseView) Init ¶
func (v *RebaseView) Init() tea.Cmd
func (*RebaseView) InputCapture ¶
func (v *RebaseView) InputCapture() bool
func (*RebaseView) SetSize ¶
func (v *RebaseView) SetSize(w, h int)
func (*RebaseView) ShortHelp ¶
func (v *RebaseView) ShortHelp() []components.HelpEntry
func (*RebaseView) View ¶
func (v *RebaseView) View() string
type RemoteView ¶
type RemoteView struct {
// contains filtered or unexported fields
}
RemoteView manages remotes and push/pull/fetch operations.
func NewRemoteView ¶
func NewRemoteView(gitSvc git.Service, styles ui.Styles) *RemoteView
NewRemoteView creates a new RemoteView.
func (*RemoteView) Init ¶
func (v *RemoteView) Init() tea.Cmd
func (*RemoteView) InputCapture ¶
func (v *RemoteView) InputCapture() bool
func (*RemoteView) SetSize ¶
func (v *RemoteView) SetSize(w, h int)
func (*RemoteView) ShortHelp ¶
func (v *RemoteView) ShortHelp() []components.HelpEntry
func (*RemoteView) View ¶
func (v *RemoteView) View() string
type StashView ¶
type StashView struct {
// contains filtered or unexported fields
}
StashView manages the stash list.
func NewStashView ¶
NewStashView creates a new StashView.
func (*StashView) InputCapture ¶
func (*StashView) ShortHelp ¶
func (v *StashView) ShortHelp() []components.HelpEntry
type StatusView ¶
type StatusView struct {
// contains filtered or unexported fields
}
StatusView is the primary working-tree view.
Layout (when diff is visible):
┌─ Files ─────────┐┌─ Diff Preview ────────┐ │ ▸ M path/to/f… ││ @@ -1,3 +1,5 @@ │ │ A new_file.go ││ +added line │ │ ? untracked ││ -removed line │ │ ││ │ └─────────────────┘└────────────────────────┘ s stage u unstage c commit d diff x discard
func NewStatusView ¶
func NewStatusView(gitSvc git.Service, styles ui.Styles) *StatusView
func (*StatusView) Init ¶
func (v *StatusView) Init() tea.Cmd
func (*StatusView) InputCapture ¶
func (v *StatusView) InputCapture() bool
func (*StatusView) SetSize ¶
func (v *StatusView) SetSize(width, height int)
func (*StatusView) ShortHelp ¶
func (v *StatusView) ShortHelp() []components.HelpEntry
func (*StatusView) View ¶
func (v *StatusView) View() string
type WorktreeView ¶
type WorktreeView struct {
// contains filtered or unexported fields
}
WorktreeView manages linked working trees.
func NewWorktreeView ¶
func NewWorktreeView(gitSvc git.Service, styles ui.Styles) *WorktreeView
NewWorktreeView creates a new WorktreeView.
func (*WorktreeView) Init ¶
func (v *WorktreeView) Init() tea.Cmd
func (*WorktreeView) InputCapture ¶
func (v *WorktreeView) InputCapture() bool
func (*WorktreeView) SetSize ¶
func (v *WorktreeView) SetSize(w, h int)
func (*WorktreeView) ShortHelp ¶
func (v *WorktreeView) ShortHelp() []components.HelpEntry
func (*WorktreeView) View ¶
func (v *WorktreeView) View() string