mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-05 07:03:12 +00:00
wip
This commit is contained in:
parent
29577b6dd7
commit
b4b90485ef
@ -50,6 +50,7 @@ template path*(self: FSDatastore, key: Key): string =
|
||||
self.root / segments.joinPath()
|
||||
|
||||
template checkProtected*(path: string): bool =
|
||||
echo "PATH ", path
|
||||
path in ProtectedPaths
|
||||
|
||||
template validDepth*(self: FSDatastore, key: Key): bool =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user