mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-04 06:33:11 +00:00
add memory (test) ds
This commit is contained in:
parent
170d50dd92
commit
985697b1bb
@ -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