mirror of
https://github.com/restic/restic.git
synced 2025-12-04 00:21:46 +00:00
Move MemoryBackend to backend/mem
This commit is contained in:
@@ -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