2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 19:08:55 +00:00

Ran gofmt on backend.go

I ran gofmt on backend.go, this appears to valid edit.
This commit is contained in:
Gaige Lama 2018-05-11 11:07:16 -04:00 committed by GitHub
parent fcfa6f0355
commit a63989afcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.