This repository was archived by the owner on Aug 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
55## [ Unreleased]
66
77Breaking changes:
8+ - Remove ` exists ` since the underlying ` Async.exists ` from ` purescript-node-fs ` has been removed (#36 by @sigma-andex )
89- Update project and deps to PureScript v0.15.0 (#33 by @JordanMartinez , @thomashoneyman , @sigma-andex )
910- Update ` mkdir' ` to take options arg (#34 by @JordanMartinez )
1011
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ module Node.FS.Aff
2121 , writeTextFile
2222 , appendFile
2323 , appendTextFile
24- , exists
2524 , fdOpen
2625 , fdRead
2726 , fdNext
@@ -32,10 +31,10 @@ module Node.FS.Aff
3231
3332import Prelude
3433
35- import Effect.Aff (Aff , makeAff , nonCanceler )
36- import Effect (Effect )
3734import Data.DateTime (DateTime )
3835import Data.Maybe (Maybe )
36+ import Effect (Effect )
37+ import Effect.Aff (Aff , makeAff , nonCanceler )
3938import Node.Buffer (Buffer )
4039import Node.Encoding (Encoding )
4140import Node.FS as F
@@ -216,11 +215,6 @@ appendFile = toAff2 A.appendFile
216215appendTextFile :: Encoding -> FilePath -> String -> Aff Unit
217216appendTextFile = toAff3 A .appendTextFile
218217
219- -- |
220- -- | Check to see if a file exists.
221- -- |
222- exists :: String -> Aff Boolean
223- exists file = makeAff \k -> A .exists file (pure >>> k) $> nonCanceler
224218
225219-- | Open a file asynchronously. See the [Node Documentation](https://nodejs.org/api/fs.html#fs_fs_open_path_flags_mode_callback)
226220-- | for details.
You can’t perform that action at this time.
0 commit comments