forked from TrueCloudLab/restic
commit
cd03275005
1 changed files with 2 additions and 2 deletions
4
internal/cache/backend.go
vendored
4
internal/cache/backend.go
vendored
|
@ -44,8 +44,8 @@ func (b *Backend) Remove(ctx context.Context, h restic.Handle) error {
|
|||
}
|
||||
|
||||
var autoCacheTypes = map[restic.FileType]struct{}{
|
||||
restic.IndexFile: struct{}{},
|
||||
restic.SnapshotFile: struct{}{},
|
||||
restic.IndexFile: {},
|
||||
restic.SnapshotFile: {},
|
||||
}
|
||||
|
||||
// Save stores a new file in the backend and the cache.
|
||||
|
|
Loading…
Reference in a new issue