refactor - tests

This commit is contained in:
Jaremy Creechley 2023-09-27 19:57:50 -07:00
parent 0f0e113f4f
commit fb73d6b5a4
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -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!"