Mkdirp with Pathy and Node.FS.Aff

Hey all,

Does anyone have a simple equivalent to mkdir -p using Pathy and Node.FS.Aff?

I am looking for a function mkdirp :: SandboxedPath Rel Dir -> Aff Unit that creates the directories if they don’t exist yet. I can’t find a simple way to do this although this seems to be a very easy and common task.

Ideas? Should I maybe not use Pathy?

No, but

3 Likes

Wow, no idea how I could overlook this. Thanks @srghma

Because it was added exactly that day)

1 Like