2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00

dryrun: fix outdated comments

This commit is contained in:
Michael Eischer 2023-04-07 22:13:32 +02:00
parent 4703473ec5
commit 8b5ab5b59f

View File

@ -18,10 +18,9 @@ type Backend struct {
b restic.Backend b restic.Backend
} }
// statically ensure that RetryBackend implements restic.Backend. // statically ensure that Backend implements restic.Backend.
var _ restic.Backend = &Backend{} var _ restic.Backend = &Backend{}
// New returns a new backend that saves all data in a map in memory.
func New(be restic.Backend) *Backend { func New(be restic.Backend) *Backend {
b := &Backend{b: be} b := &Backend{b: be}
debug.Log("created new dry backend") debug.Log("created new dry backend")