mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
commit
548227e6df
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ func newReadProgress(gopts GlobalOptions, todo restic.Stat) *restic.Progress {
|
||||||
// prepareCheckCache configures a special cache directory for check.
|
// prepareCheckCache configures a special cache directory for check.
|
||||||
//
|
//
|
||||||
// * if --with-cache is specified, the default cache is used
|
// * if --with-cache is specified, the default cache is used
|
||||||
// * if the user explicitely requested --no-cache, we don't use any cache
|
// * if the user explicitly requested --no-cache, we don't use any cache
|
||||||
// * by default, we use a cache in a temporary directory that is deleted after the check
|
// * by default, we use a cache in a temporary directory that is deleted after the check
|
||||||
func prepareCheckCache(opts CheckOptions, gopts *GlobalOptions) (cleanup func()) {
|
func prepareCheckCache(opts CheckOptions, gopts *GlobalOptions) (cleanup func()) {
|
||||||
cleanup = func() {}
|
cleanup = func() {}
|
||||||
|
|
Loading…
Reference in a new issue