diff --git a/CHANGELOG.md b/CHANGELOG.md index 97f17b4..5dfc735 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based ## [Unreleased] Breaking changes: +- Remove deprecated Async.exists (#35 by @sigma-andex) - Update project and deps to PureScript v0.15.0 (#33 by @JordanMartinez, @thomashoneyman, @sigma-andex) - Update `mkdir'` to take options arg (#34 by @JordanMartinez) diff --git a/src/Node/FS/Aff.purs b/src/Node/FS/Aff.purs index 7d5e4f5..e6a97a6 100644 --- a/src/Node/FS/Aff.purs +++ b/src/Node/FS/Aff.purs @@ -21,7 +21,6 @@ module Node.FS.Aff , writeTextFile , appendFile , appendTextFile - , exists , fdOpen , fdRead , fdNext @@ -216,11 +215,6 @@ appendFile = toAff2 A.appendFile appendTextFile :: Encoding -> FilePath -> String -> Aff Unit appendTextFile = toAff3 A.appendTextFile --- | --- | Check to see if a file exists. --- | -exists :: String -> Aff Boolean -exists file = makeAff \k -> A.exists file (pure >>> k) $> nonCanceler -- | Open a file asynchronously. See the [Node Documentation](https://nodejs.org/api/fs.html#fs_fs_open_path_flags_mode_callback) -- | for details.