restic: decouple restic.Handle

This commit is contained in:
Michael Eischer
2023-10-01 10:52:57 +02:00
parent 7881309d63
commit b6d79bdf6f
6 changed files with 20 additions and 11 deletions

View File

@@ -48,7 +48,7 @@ func autoCacheTypes(h restic.Handle) bool {
case restic.IndexFile, restic.SnapshotFile:
return true
case restic.PackFile:
return h.ContainedBlobType == restic.TreeBlob
return h.IsMetadata
}
return false
}