Documentation
¶
Index ¶
Constants ¶
View Source
const ( StateIdle AgentState = iota StateThinking StateRunning StateEditing StateBrowsing StateWaiting NumAgentStates int = iota )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentSession ¶
type AgentState ¶
type AgentState int
func (AgentState) String ¶
func (s AgentState) String() string
type Divergence ¶
type FileChange ¶
type FileChange struct {
Path string
Orig string
Status FileStatus
Staged bool
Added int
Deleted int
ModTime time.Time
}
func (FileChange) Binary ¶
func (c FileChange) Binary() bool
type FileStatus ¶
type FileStatus int
const ( StatusModified FileStatus = iota StatusAdded StatusDeleted StatusRenamed StatusUntracked StatusConflicted )
func (FileStatus) Code ¶
func (s FileStatus) Code() string
func (FileStatus) String ¶
func (s FileStatus) String() string
type GraphLine ¶
type StatusResult ¶
type StatusResult struct {
Branch string
Upstream string
Ahead int
Behind int
Files []FileChange
}
Click to show internal directories.
Click to hide internal directories.