@@ -260,9 +260,8 @@ exists file = return $ fs.existsSync file
260260
261261{- Synchronous File Descriptor Functions -}
262262
263- -- | Open a file synchronously. See <a
264- -- | href="http://nodejs.org/api/fs.html#fs_fs_opensync_path_flags_mode">Node
265- -- | Documentation</a> for details.
263+ -- | Open a file synchronously. See the [Node documentation](http://nodejs.org/api/fs.html#fs_fs_opensync_path_flags_mode)
264+ -- | for details.
266265fdOpen :: forall eff .
267266 FilePath
268267 -> FileFlags
@@ -271,9 +270,8 @@ fdOpen :: forall eff.
271270fdOpen file flags mode = mkEff $ \_ ->
272271 runFn3 fs.openSync file (fileFlagsToNode flags) (toNullable mode)
273272
274- -- | Read to a file synchronously. See <a
275- -- | href="http://nodejs.org/api/fs.html#fs_fs_readsync_fd_buffer_offset_length_position">Node
276- -- | ocumentation</a> for details.
273+ -- | Read from a file synchronously. See the [Node documentation](http://nodejs.org/api/fs.html#fs_fs_readsync_fd_buffer_offset_length_position)
274+ -- | for details.
277275fdRead :: forall eff .
278276 FileDescriptor
279277 -> Buffer
@@ -294,9 +292,8 @@ fdNext fd buff = do
294292 sz <- size buff
295293 fdRead fd buff 0 sz Nothing
296294
297- -- | Write to a file synchronously. See <a
298- -- | href="http://nodejs.org/api/fs.html#fs_fs_writesync_fd_buffer_offset_length_position">Node
299- -- | Documentation</a> for details.
295+ -- | Write to a file synchronously. See the [Node documentation](http://nodejs.org/api/fs.html#fs_fs_writesync_fd_buffer_offset_length_position)
296+ -- | for details.
300297fdWrite :: forall eff .
301298 FileDescriptor
302299 -> Buffer
@@ -317,17 +314,15 @@ fdAppend fd buff = do
317314 sz <- size buff
318315 fdWrite fd buff 0 sz Nothing
319316
320- -- | Flush a file synchronously. See <a
321- -- | href="http://nodejs.org/api/fs.html#fs_fs_fsyncsync_fd">Node
322- -- | Documentation</a> for details.
317+ -- | Flush a file synchronously. See the [Node documentation](http://nodejs.org/api/fs.html#fs_fs_fsyncsync_fd)
318+ -- | for details.
323319fdFlush :: forall eff .
324320 FileDescriptor
325321 -> Eff (err :: EXCEPTION , fs :: FS | eff ) Unit
326322fdFlush fd = mkEff $ \_ -> runFn1 fs.fsyncSync fd
327323
328- -- | Close a file synchronously. See <a
329- -- | href="http://nodejs.org/api/fs.html#fs_fs_closesync_fd">Node
330- -- | Documentation</a> for details.
324+ -- | Close a file synchronously. See the [Node documentation](http://nodejs.org/api/fs.html#fs_fs_closesync_fd)
325+ -- | for details.
331326fdClose :: forall eff .
332327 FileDescriptor
333328 -> Eff (err :: EXCEPTION , fs :: FS | eff ) Unit
0 commit comments