Duck util-dir module.

This commit is contained in:
Dominik Pantůček 2023-07-07 14:33:35 +02:00
parent 1eced966bf
commit 1b18c99d3c
4 changed files with 24 additions and 5 deletions

View file

@ -596,3 +596,16 @@ Reimplementation of old list-based symbol dictionary using new BST backend.
(import util-bst-lset)
Reimplementation of old lset using new BST backend.
## util-dir [module]
(import util-dir)
Directory handling which didn't fit elsewhere.
### ensure-directory [procedure]
(ensure-directory dir)
Makes sure given path exists and it is a directory. Throws an error
if it exists and it is not a directory.