mirror of https://github.com/restic/restic.git
commit
cd03275005
|
@ -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 New Issue