diff --git a/cmd/restic/cmd_prune.go b/cmd/restic/cmd_prune.go index e42eb598f..90b702e61 100644 --- a/cmd/restic/cmd_prune.go +++ b/cmd/restic/cmd_prune.go @@ -170,6 +170,8 @@ type packInfoWithID struct { packInfo } +// prune selects which files to rewrite and then does that. The map usedBlobs is +// modified in the process. func prune(opts PruneOptions, gopts GlobalOptions, repo restic.Repository, usedBlobs restic.BlobSet) error { ctx := gopts.ctx