diff --git a/internal/repository/repack.go b/internal/repository/repack.go index 298c708ce..7ebc2b2ac 100644 --- a/internal/repository/repack.go +++ b/internal/repository/repack.go @@ -54,11 +54,6 @@ func Repack( }) } -/* CopyBlobs: the following code is a terrible hack, but there is currently no other way - of calling the functionality in repack() without a lot duplication of code. - - Repack() is still called from `restic prune` via plan.Execute() inside prune.go -*/ // CopyBlobs is a wrapper around repack(). The parameter 'uploader' is passed through // from WithBlobUploader() to CopyBlobs() via cmd/restic/cmd_copy.copyTree(). func CopyBlobs(