Versions in this module Expand all Collapse all v0 v0.0.4 Nov 23, 2023 Changes in this version type Stats + OnUpdate func(*Stats) v0.0.3 Sep 14, 2023 Changes in this version + type Progress struct + Current int + Done bool + Stage Stage + Total int + type Stage string + const StageExportIndex + const StageExportJSON + const StageExportSQL + const StageExtractBundles + const StageExtractCache + const StageExtractSameAs + const StageHandler + const StageImportIndex + const StageInitial + const StageReadPathbuilder + const StageScanInverse + const StageScanSameAs + const StageScanTriples + type StageStats struct + Current int + End perf.Snapshot + Stage Stage + Start perf.Snapshot + Total int + func (ss StageStats) Diff() perf.Diff + func (ss StageStats) Progress() string + type Stats struct + func NewStats(w io.Writer) *Stats + func (st *Stats) All() []StageStats + func (st *Stats) Close() + func (st *Stats) Current() StageStats + func (st *Stats) Diff() perf.Diff + func (st *Stats) DoStage(stage Stage, f func() error) error + func (st *Stats) Done() bool + func (st *Stats) End() (prev StageStats) + func (st *Stats) IndexStats() igraph.Stats + func (st *Stats) Log(message string, fields ...any) + func (st *Stats) LogDebug(message string, fields ...any) + func (st *Stats) LogError(message string, err error, fields ...any) + func (st *Stats) LogFatal(message string, err error) + func (st *Stats) Progress() (progress Progress) + func (st *Stats) Rewritable() *progress.Rewritable + func (st *Stats) SetCT(current, total int) + func (st *Stats) Start(stage Stage) + func (st *Stats) StoreIndexStats(stats igraph.Stats)