Documentation
¶
Index ¶
- Constants
- func Follow() tea.Msg
- type CommandExitMsg
- type CommandOutMsg
- type Details
- func (m *Details) Focus(focus bool)
- func (m Details) Init() tea.Cmd
- func (m *Details) Open() tea.Cmd
- func (m *Details) SetHeight(height int)
- func (m *Details) SetItem(item TreeEntry) tea.Cmd
- func (m *Details) SetWidth(width int)
- func (m Details) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Details) View() string
- type EditorExitMsg
- type Group
- func (g *Group) Add(e TreeEntry)
- func (g *Group) Cached() bool
- func (g *Group) Completed() *time.Time
- func (g *Group) Entries() []TreeEntry
- func (g *Group) Error() *string
- func (g *Group) ID() string
- func (g *Group) Infinite() bool
- func (g *Group) Inputs() []string
- func (g *Group) Name() string
- func (g *Group) Open() tea.Cmd
- func (g *Group) Save(dir string) (string, error)
- func (g *Group) ScrollPercent() float64
- func (g *Group) SetWidth(w int)
- func (g *Group) Started() *time.Time
- func (g *Group) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- type Item
- func (i *Item) Cached() bool
- func (i *Item) Completed() *time.Time
- func (i *Item) Entries() []TreeEntry
- func (i *Item) Error() *string
- func (i *Item) ID() string
- func (i *Item) Infinite() bool
- func (i *Item) Init() tea.Cmd
- func (i *Item) Inputs() []string
- func (i *Item) Internal() bool
- func (i *Item) Name() string
- func (i *Item) Open() tea.Cmd
- func (i *Item) Save(dir string) (string, error)
- func (i *Item) ScrollPercent() float64
- func (i *Item) SetHeight(height int)
- func (i *Item) SetWidth(width int)
- func (i *Item) Started() *time.Time
- func (i *Item) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (i *Item) UpdateLog(log *progrock.VertexLog)
- func (i *Item) UpdateStatus(task *progrock.VertexTask)
- func (i *Item) UpdateVertex(v *progrock.Vertex)
- func (i *Item) View() string
- type Model
- type Tree
- func (m *Tree) Collapse(entry TreeEntry, recursive bool)
- func (m Tree) Current() TreeEntry
- func (m *Tree) Expand(entry TreeEntry, recursive bool)
- func (m *Tree) Focus(focus bool)
- func (m *Tree) Follow()
- func (m *Tree) Init() tea.Cmd
- func (m *Tree) MoveDown()
- func (m *Tree) MoveToBottom()
- func (m *Tree) MoveToTop()
- func (m *Tree) MoveUp()
- func (m *Tree) Open() tea.Cmd
- func (m *Tree) PageDown()
- func (m *Tree) PageUp()
- func (m Tree) Root() TreeEntry
- func (m *Tree) SetHeight(height int)
- func (m *Tree) SetRoot(root TreeEntry)
- func (m *Tree) SetWidth(width int)
- func (m *Tree) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m *Tree) UsedHeight() int
- func (m *Tree) View() string
- type TreeEntry
- type Vterm
- func (term *Vterm) Init() tea.Cmd
- func (term *Vterm) Print(w io.Writer) error
- func (term *Vterm) ScrollPercent() float64
- func (term *Vterm) SetHeight(height int)
- func (term *Vterm) SetWidth(width int)
- func (term *Vterm) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (term *Vterm) View() string
- func (term *Vterm) Write(p []byte) (int, error)
Constants ¶
View Source
const RootVertex = "<root>"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandExitMsg ¶
type CommandExitMsg struct {
Err error
}
type CommandOutMsg ¶
type CommandOutMsg struct {
Output []byte
}
type EditorExitMsg ¶
type EditorExitMsg struct {
Err error
}
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (*Group) ScrollPercent ¶
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func (*Item) ScrollPercent ¶
func (*Item) UpdateStatus ¶
func (i *Item) UpdateStatus(task *progrock.VertexTask)
func (*Item) UpdateVertex ¶
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
func (*Tree) MoveToBottom ¶
func (m *Tree) MoveToBottom()
func (*Tree) UsedHeight ¶
Click to show internal directories.
Click to hide internal directories.