mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-06 07:33:10 +00:00
add memory (test) ds
This commit is contained in:
parent
65fdd4c8d8
commit
3a02b85067
@ -125,5 +125,5 @@ method close*(self: MemoryDatastore): Future[?!void] {.async.} =
|
||||
return success()
|
||||
|
||||
func new*(tp: typedesc[MemoryDatastore]): MemoryDatastore =
|
||||
var self = default(tp)
|
||||
var self = tp()
|
||||
return self
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user