Documentation
¶
Index ¶
- Variables
- func Execute()
- type CLIProgressReporter
- func (c *CLIProgressReporter) OnComplete(stats *indexer.ProcessingStats)
- func (c *CLIProgressReporter) OnDiscoveryComplete(codeFiles, docFiles int)
- func (c *CLIProgressReporter) OnDiscoveryStart()
- func (c *CLIProgressReporter) OnEmbeddingProgress(processedChunks int)
- func (c *CLIProgressReporter) OnEmbeddingStart(totalChunks int)
- func (c *CLIProgressReporter) OnFileProcessed(fileName string)
- func (c *CLIProgressReporter) OnFileProcessingStart(totalFiles int)
- func (c *CLIProgressReporter) OnWritingChunks()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version information - typically set via ldflags at build time Version = "dev" GitCommit = "none" BuildDate = "unknown" )
Functions ¶
Types ¶
type CLIProgressReporter ¶
type CLIProgressReporter struct {
// contains filtered or unexported fields
}
CLIProgressReporter implements progress reporting with progress bars.
func NewCLIProgressReporter ¶
func NewCLIProgressReporter(quiet bool) *CLIProgressReporter
NewCLIProgressReporter creates a new CLI progress reporter.
func (*CLIProgressReporter) OnComplete ¶
func (c *CLIProgressReporter) OnComplete(stats *indexer.ProcessingStats)
func (*CLIProgressReporter) OnDiscoveryComplete ¶
func (c *CLIProgressReporter) OnDiscoveryComplete(codeFiles, docFiles int)
func (*CLIProgressReporter) OnDiscoveryStart ¶
func (c *CLIProgressReporter) OnDiscoveryStart()
func (*CLIProgressReporter) OnEmbeddingProgress ¶
func (c *CLIProgressReporter) OnEmbeddingProgress(processedChunks int)
func (*CLIProgressReporter) OnEmbeddingStart ¶
func (c *CLIProgressReporter) OnEmbeddingStart(totalChunks int)
func (*CLIProgressReporter) OnFileProcessed ¶
func (c *CLIProgressReporter) OnFileProcessed(fileName string)
func (*CLIProgressReporter) OnFileProcessingStart ¶
func (c *CLIProgressReporter) OnFileProcessingStart(totalFiles int)
func (*CLIProgressReporter) OnWritingChunks ¶
func (c *CLIProgressReporter) OnWritingChunks()
Click to show internal directories.
Click to hide internal directories.