Module
Node.FS.Async
- Package
- purescript-node-fs
- Repository
- purescript-node/purescript-node-fs
#fdOpen Source
fdOpen :: FilePath -> FileFlags -> Maybe FileMode -> Callback FileDescriptor -> Effect Unit
Open a file asynchronously. See the Node Documentation for details.
#fdRead Source
fdRead :: FileDescriptor -> Buffer -> BufferOffset -> BufferLength -> Maybe FilePosition -> Callback ByteCount -> Effect Unit
Read from a file asynchronously. See the Node Documentation for details.
#fdWrite Source
fdWrite :: FileDescriptor -> Buffer -> BufferOffset -> BufferLength -> Maybe FilePosition -> Callback ByteCount -> Effect Unit
Write to a file asynchronously. See the Node Documentation for details.
#fdClose Source
fdClose :: FileDescriptor -> Callback Unit -> Effect Unit
Close a file asynchronously. See the Node Documentation for details.