mirror of
https://github.com/restic/restic.git
synced 2026-11-19 12:15:22 +00:00
restic: decouple restic.Handle
This commit is contained in:
1 parent
7881309d63
commit
b6d79bdf6f
6 files changed
+20
-11
No files matched your search
Vendored
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user