repository: deduplicate index progress bar initializaton

This commit is contained in:
Michael Eischer
2025-09-21 17:43:44 +02:00
parent b459d66288
commit 52eb66929f
21 changed files with 41 additions and 48 deletions

View File

@@ -76,7 +76,3 @@ func NewProgressPrinter(json bool, verbosity uint, term Terminal) progress.Print
show: verbosity > 0,
}
}
func NewIndexCounter(printer progress.Printer) *progress.Counter {
return printer.NewCounterTerminalOnly("index files loaded")
}