mirror of
https://github.com/restic/restic.git
synced 2026-11-02 21:45:33 +00:00
move NewProgressPrinter to ui package
This commit is contained in:
1 parent
ff5a0cc851
commit
e753941ad3
39 files changed
+151
-148
No files matched your search
@@ -134,7 +134,7 @@ func applyMigrations(ctx context.Context, opts MigrateOptions, gopts GlobalOptio
|
||||
}
|
||||
|
||||
func runMigrate(ctx context.Context, opts MigrateOptions, gopts GlobalOptions, args []string, term ui.Terminal) error {
|
||||
printer := newTerminalProgressPrinter(false, gopts.verbosity, term)
|
||||
printer := ui.NewProgressPrinter(false, gopts.verbosity, term)
|
||||
|
||||
ctx, repo, unlock, err := openWithExclusiveLock(ctx, gopts, false, printer)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user