GO-2024-2703: Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output in github.com/kopia/kopia
package
Version:
v0.11.0
Opens a new window with list of versions in this module.
Published: Jul 4, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package timetrack tracks the progress and estimates completion of a task.
Package timetrack tracks the progress and estimates completion of a task.
type Estimator struct {
}
Estimator estimates the completion of a task.
Start returns an Estimator object.
Completed computes the duration and speed (total per second).
Estimate estimates the completion of a task given the current progress as indicated
by ration of completed/total.
Throttle throttles UI updates to a specific interval.
Reset resets the throttle.
ShouldOutput returns true if it's ok to produce output given the for a given time interval.
Timer measures elapsed time of operations.
StartTimer starts the timer.
Elapsed returns time elapsed since the timer was started.
Timings returns task progress and timings.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.