mirror of
https://github.com/restic/restic.git
synced 2026-07-05 14:55:10 +00:00
restic: decouple restic.Handle
This commit is contained in:
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