Documentation
¶
Index ¶
- Variables
- func CloseDebugLog()
- func InitDebugLogging(logFilePath string) error
- func LogError(format string, args ...interface{})
- func LogInfo(format string, args ...interface{})
- func LogShellCommand(command string, args []string, workDir string)
- func LogSuccess(format string, args ...interface{})
- func LogWarning(format string, args ...interface{})
- func MoveToLastCommit()
- func SetupTUI()
- func ShowConfirmationDialog(message string) bool
- func UpdateCommitDetails(id string, totalFiles int, diffSize int, old, new string)
- func UpdateProgressBar()
- func UpdateStatus(text string)
- type TextView
Constants ¶
This section is empty.
Variables ¶
View Source
var ( App *tview.Application MainFlex *tview.Flex ProgressBar *tview.TextView LogView *tview.TextView StatusBar *tview.TextView CommitDetails *tview.TextView LastCommitDetails *tview.TextView TotalCommits int ProcessedCommits int ConfirmationResult bool ConfirmationDone bool // Timing variables for ETA calculation StartTime time.Time LastCommitStartTime time.Time TotalProcessingTime time.Duration CommitTimings []time.Duration )
TUI components
Functions ¶
func CloseDebugLog ¶ added in v0.2.0
func CloseDebugLog()
CloseDebugLog closes the debug log file if it's open
func InitDebugLogging ¶ added in v0.2.0
InitDebugLogging sets up debug logging to a file if a path is provided
func LogInfo ¶
func LogInfo(format string, args ...interface{})
LogInfo logs an informational message
func LogShellCommand ¶ added in v0.2.0
LogShellCommand logs shell commands to the debug log file
func LogSuccess ¶
func LogSuccess(format string, args ...interface{})
LogSuccess logs a success message
func LogWarning ¶ added in v0.2.0
func LogWarning(format string, args ...interface{})
LogWarning logs a warning message
func MoveToLastCommit ¶
func MoveToLastCommit()
MoveToLastCommit moves the current commit details to the last commit details panel
func ShowConfirmationDialog ¶
ShowConfirmationDialog displays a confirmation dialog and waits for user input
func UpdateCommitDetails ¶
UpdateCommitDetails updates the details of the current commit being processed
func UpdateProgressBar ¶
func UpdateProgressBar()
UpdateProgressBar updates the progress bar with the current status
Types ¶
Click to show internal directories.
Click to hide internal directories.