Module
Node.FS.Aff
- Package
- purescript-node-fs-aff
- Repository
- purescript-node/purescript-node-fs-aff
#fdOpen Source
fdOpen :: forall eff. FilePath -> FileFlags -> Maybe FileMode -> Aff (fs :: FS | eff) FileDescriptor
Open a file asynchronously. See the Node Documentation for details.
#fdRead Source
fdRead :: forall eff. FileDescriptor -> Buffer -> BufferOffset -> BufferLength -> Maybe FilePosition -> Aff (buffer :: BUFFER, fs :: FS | eff) ByteCount
Read from a file asynchronously. See the Node Documentation for details.
#fdWrite Source
fdWrite :: forall eff. FileDescriptor -> Buffer -> BufferOffset -> BufferLength -> Maybe FilePosition -> Aff (buffer :: BUFFER, fs :: FS | eff) ByteCount
Write to a file asynchronously. See the Node Documentation for details.
#fdClose Source
fdClose :: forall eff. FileDescriptor -> Aff (fs :: FS | eff) Unit
Close a file asynchronously. See the Node Documentation for details.
Re-exports from Node.FS
- Modules
- Node.
FS. Aff