mirror of
https://github.com/restic/restic.git
synced 2025-12-03 20:11:52 +00:00
restic: decouple restic.Handle
This commit is contained in:
2
internal/cache/backend.go
vendored
2
internal/cache/backend.go
vendored
@@ -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