1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-25 01:06:39 +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 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 { func prune(opts PruneOptions, gopts GlobalOptions, repo restic.Repository, usedBlobs restic.BlobSet) error {
ctx := gopts.ctx ctx := gopts.ctx