ensure-directories aka create-directories Lassi Kortela (31 Jul 2020 10:47 UTC)
(missing)
(missing)
Re: ensure-directories aka create-directories Lassi Kortela (31 Jul 2020 12:32 UTC)
Re: ensure-directories aka create-directories John Cowan (31 Jul 2020 13:03 UTC)
Re: ensure-directories aka create-directories John Cowan (31 Jul 2020 13:10 UTC)
Re: ensure-directories aka create-directories Lassi Kortela (31 Jul 2020 13:14 UTC)
Re: ensure-directories aka create-directories John Cowan (31 Jul 2020 13:19 UTC)
Re: ensure-directories aka create-directories Lassi Kortela (31 Jul 2020 13:31 UTC)
Re: ensure-directories aka create-directories Shiro Kawai (31 Jul 2020 18:03 UTC)
Re: ensure-directories aka create-directories Lassi Kortela (02 Aug 2020 10:20 UTC)
Re: ensure-directories aka create-directories Lassi Kortela (31 Jul 2020 12:10 UTC)

ensure-directories aka create-directories Lassi Kortela 31 Jul 2020 10:46 UTC

SRFI 170 is missing one of the most useful (and commonly missing, and
tricky/error-prone to manually implement) OS procedures:

(ensure-directory "foo")

* Create directory "foo" while also creating any missing parent directories.

* If "foo" already exists and is a directory, silently succeed.

* If "foo" (or one of its parents) already exists but is not a
directory, raise an exception.

* On file system error, raise an exception as usual.