From fb73d6b5a48c612eb57d2552607d727a4c3b65b6 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Wed, 27 Sep 2023 19:57:50 -0700 Subject: [PATCH] refactor - tests --- datastore/fsds.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/datastore/fsds.nim b/datastore/fsds.nim index 9d15372..87fb7ad 100644 --- a/datastore/fsds.nim +++ b/datastore/fsds.nim @@ -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!"