purescript-node / purescript-node-fs

Node.js file I/O for purescript
MIT License
33 stars 34 forks source link

Add recursive arg to `mkdir` #53

Closed JordanMartinez closed 2 years ago

JordanMartinez commented 2 years ago

Description of the change

Enables a variant of mkdir that works when multiple directories in the path don't exist.

https://nodejs.org/api/fs.html#fspromisesmkdirpath-options


Checklist:

JordanMartinez commented 2 years ago

I can refactor this to use a different FFI call rather than going through mkdir'. When we do breaking changes in the future, we can merge the two then.