From eb195ce2aada0234334c1a7618e6cd5f9ec22101 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Fri, 25 Mar 2022 17:03:54 -0500 Subject: [PATCH 1/2] Update mkdir' type sig --- src/Node/FS/Aff.purs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Node/FS/Aff.purs b/src/Node/FS/Aff.purs index 3d4a570..7d5e4f5 100644 --- a/src/Node/FS/Aff.purs +++ b/src/Node/FS/Aff.purs @@ -163,9 +163,9 @@ mkdir :: FilePath -> Aff Unit mkdir = toAff1 A.mkdir -- | --- | Makes a new directory with the specified permissions. +-- | Makes a new directory with all of its options. -- | -mkdir' :: FilePath -> Perms -> Aff Unit +mkdir' :: FilePath -> { recursive :: Boolean, mode :: Perms } -> Aff Unit mkdir' = toAff2 A.mkdir' -- | From fbcf4844e5378d953cd9a3ee1fd74e7e4d59da11 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Fri, 25 Mar 2022 17:05:49 -0500 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3842eeb..97f17b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Notable changes to this project are documented in this file. The format is based Breaking changes: - Update project and deps to PureScript v0.15.0 (#33 by @JordanMartinez, @thomashoneyman, @sigma-andex) +- Update `mkdir'` to take options arg (#34 by @JordanMartinez) New features: