File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,9 @@ Check if the path exists.
199199fdOpen :: forall eff. FilePath -> FileFlags -> Maybe FileMode -> Callback eff FileDescriptor -> Eff (fs :: FS | eff) Unit
200200```
201201
202+ Open a file asynchronously. See the [ Node Documentation] ( https://nodejs.org/api/fs.html#fs_fs_open_path_flags_mode_callback )
203+ for details.
204+
202205#### ` fdRead `
203206
204207``` purescript
Original file line number Diff line number Diff line change @@ -191,6 +191,9 @@ Check if the path exists.
191191fdOpen :: forall eff. FilePath -> FileFlags -> Maybe FileMode -> Eff (err :: EXCEPTION, fs :: FS | eff) FileDescriptor
192192```
193193
194+ Open a file synchronously. See the [ Node documentation] ( http://nodejs.org/api/fs.html#fs_fs_opensync_path_flags_mode )
195+ for details.
196+
194197#### ` fdRead `
195198
196199``` purescript
Original file line number Diff line number Diff line change @@ -297,9 +297,6 @@ exists :: forall eff. FilePath
297297exists file cb = mkEff $ \_ -> runFn2
298298 fs.exists file $ \b -> runPure (unsafeInterleaveEff (cb b))
299299
300-
301- {- Asynchronous File Descriptor Functions -}
302-
303300-- | Open a file asynchronously. See the [Node Documentation](https://nodejs.org/api/fs.html#fs_fs_open_path_flags_mode_callback)
304301-- | for details.
305302fdOpen :: forall eff .
Original file line number Diff line number Diff line change @@ -258,8 +258,6 @@ exists :: forall eff. FilePath
258258 -> Eff (fs :: FS | eff ) Boolean
259259exists file = return $ fs.existsSync file
260260
261- {- Synchronous File Descriptor Functions -}
262-
263261-- | Open a file synchronously. See the [Node documentation](http://nodejs.org/api/fs.html#fs_fs_opensync_path_flags_mode)
264262-- | for details.
265263fdOpen :: forall eff .
You can’t perform that action at this time.
0 commit comments