mirror of
https://github.com/restic/restic.git
synced 2025-02-01 12:09:03 +00:00
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{}{
|
var autoCacheTypes = map[restic.FileType]struct{}{
|
||||||
restic.IndexFile: struct{}{},
|
restic.IndexFile: {},
|
||||||
restic.SnapshotFile: struct{}{},
|
restic.SnapshotFile: {},
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save stores a new file in the backend and the cache.
|
// Save stores a new file in the backend and the cache.
|
||||||
|
|
Loading…
Reference in a new issue