2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 13:17:42 +00:00

Add comment that usedBlobs is modified

This commit is contained in:
Alexander Neumann 2020-11-03 12:50:33 +01:00
parent aff1e220f5
commit a5b80452fe

View File

@ -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