Move MemoryBackend to backend/mem
This commit is contained in:
parent
f05a32509e
commit
0b50f9e02c
6 changed files with 54 additions and 48 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue