mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 14:13:09 +00:00
refactor - tests
This commit is contained in:
parent
0f0e113f4f
commit
fb73d6b5a4
@ -212,9 +212,11 @@ proc close*[K,V](handle: var DbQueryHandle[K,V,FsQueryEnv[K,V]]) =
|
||||
iterator iter*[K, V](handle: var DbQueryHandle[K, V, FsQueryEnv[K,V]]
|
||||
): ?!DbQueryResponse[K, V] =
|
||||
let root = $(handle.env.self.root)
|
||||
let basePath = $(handle.env.basePath)
|
||||
echo "FS:root: ", root
|
||||
echo "FS:basePath: ", basePath
|
||||
|
||||
for path in root.dirIter():
|
||||
for path in basePath.dirIter():
|
||||
echo "FS:path: ", path
|
||||
if handle.cancel:
|
||||
# echo "FS:CANCELLED!"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user