mirror of
https://github.com/restic/restic.git
synced 2026-10-27 10:48:55 +00:00
Move MemoryBackend to backend/mem
This commit is contained in:
1 parent
f05a32509e
commit
0b50f9e02c
6 files changed
+54
-48
No files matched your search
@@ -4,6 +4,7 @@ import (
|
||||
"errors"
|
||||
|
||||
"github.com/restic/restic/backend"
|
||||
"github.com/restic/restic/backend/mem"
|
||||
"github.com/restic/restic/backend/test"
|
||||
)
|
||||
|
||||
@@ -17,7 +18,7 @@ func init() {
|
||||
return nil, errors.New("temporary memory backend dir already exists")
|
||||
}
|
||||
|
||||
be = backend.NewMemoryBackend()
|
||||
be = mem.New()
|
||||
|
||||
return be, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user