Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit 087a985

Browse files
Update mkdir' type sig (#34)
1 parent 92a1048 commit 087a985

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Notable changes to this project are documented in this file. The format is based
66

77
Breaking changes:
88
- Update project and deps to PureScript v0.15.0 (#33 by @JordanMartinez, @thomashoneyman, @sigma-andex)
9+
- Update `mkdir'` to take options arg (#34 by @JordanMartinez)
910

1011
New features:
1112

src/Node/FS/Aff.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ mkdir :: FilePath -> Aff Unit
163163
mkdir = toAff1 A.mkdir
164164

165165
-- |
166-
-- | Makes a new directory with the specified permissions.
166+
-- | Makes a new directory with all of its options.
167167
-- |
168-
mkdir' :: FilePath -> Perms -> Aff Unit
168+
mkdir' :: FilePath -> { recursive :: Boolean, mode :: Perms } -> Aff Unit
169169
mkdir' = toAff2 A.mkdir'
170170

171171
-- |

0 commit comments

Comments
 (0)