Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppStats ¶
type AppStats struct {
// contains filtered or unexported fields
}
AppStats tracks application performance statistics
func (*AppStats) GetCurrentMemoryKB ¶
GetCurrentMemoryKB returns current memory usage in KB
func (*AppStats) GetDuration ¶
GetDuration returns the elapsed time since stats tracking started
func (*AppStats) GetMaxMemoryKB ¶
GetMaxMemoryKB returns maximum memory usage in KB
func (*AppStats) UpdateStats ¶
UpdateStats updates the current stats and tracks maximums
type CloneOperation ¶
CloneOperation defines the interface for clone operations
type CloneRunner ¶
type CloneRunner struct {
// contains filtered or unexported fields
}
CloneRunner handles the execution of clone operations with timing
func NewCloneRunner ¶
func NewCloneRunner(demoMode bool, ticker <-chan time.Time, repo string, timeout time.Duration, resultC chan<- error) *CloneRunner
NewCloneRunner creates a new CloneRunner
func (*CloneRunner) Start ¶
func (cr *CloneRunner) Start() tea.Cmd
Start returns a tea.Cmd that runs the clone operations
type DemoCloneOperation ¶
type DemoCloneOperation struct{}
DemoCloneOperation implements simulated git cloning
type ErrorStats ¶
type ErrorStats struct {
// contains filtered or unexported fields
}
ErrorStats tracks error statistics with configurable history
func NewErrorStats ¶
func NewErrorStats(maxRecent int) *ErrorStats
NewErrorStats creates a new ErrorStats instance
func (*ErrorStats) AddError ¶
func (es *ErrorStats) AddError(err error, timestamp time.Time)
AddError adds an error to the tracking system
func (*ErrorStats) GetRecentErrors ¶
func (es *ErrorStats) GetRecentErrors() []errorInfo
GetRecentErrors returns the recent errors for display
func (*ErrorStats) GetTotalErrors ¶
func (es *ErrorStats) GetTotalErrors() int
GetTotalErrors returns the total number of errors encountered
type RealCloneOperation ¶
type RealCloneOperation struct{}
RealCloneOperation implements actual git cloning
type Styles ¶
type Styles struct {
// contains filtered or unexported fields
}
Centralized styling configuration