File tree 4 files changed +6
-5
lines changed
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.
199
199
fdOpen :: forall eff. FilePath -> FileFlags -> Maybe FileMode -> Callback eff FileDescriptor -> Eff (fs :: FS | eff) Unit
200
200
```
201
201
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
+
202
205
#### ` fdRead `
203
206
204
207
``` purescript
Original file line number Diff line number Diff line change @@ -191,6 +191,9 @@ Check if the path exists.
191
191
fdOpen :: forall eff. FilePath -> FileFlags -> Maybe FileMode -> Eff (err :: EXCEPTION, fs :: FS | eff) FileDescriptor
192
192
```
193
193
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
+
194
197
#### ` fdRead `
195
198
196
199
``` purescript
Original file line number Diff line number Diff line change @@ -297,9 +297,6 @@ exists :: forall eff. FilePath
297
297
exists file cb = mkEff $ \_ -> runFn2
298
298
fs.exists file $ \b -> runPure (unsafeInterleaveEff (cb b))
299
299
300
-
301
- {- Asynchronous File Descriptor Functions -}
302
-
303
300
-- | Open a file asynchronously. See the [Node Documentation](https://nodejs.org/api/fs.html#fs_fs_open_path_flags_mode_callback)
304
301
-- | for details.
305
302
fdOpen :: forall eff .
Original file line number Diff line number Diff line change @@ -258,8 +258,6 @@ exists :: forall eff. FilePath
258
258
-> Eff (fs :: FS | eff ) Boolean
259
259
exists file = return $ fs.existsSync file
260
260
261
- {- Synchronous File Descriptor Functions -}
262
-
263
261
-- | Open a file synchronously. See the [Node documentation](http://nodejs.org/api/fs.html#fs_fs_opensync_path_flags_mode)
264
262
-- | for details.
265
263
fdOpen :: forall eff .
You can’t perform that action at this time.
0 commit comments