Classes

Classes

FSWatcher
ReadStream
Stats
WriteStream

Namespaces

fsn/fs

Events


change

Emitted when an error occurs.
Type: fsn/fs.FSWatcher
Properties:
Name Type Description
eventType string The type of fs change
filename string | Buffer The filename that changed
Source:
fs.js#L83

error

Emitted when an error occurs.
Type: fsn/fs.FSWatcher
Properties:
Name Type Description
error Error The error
Source:
fs.js#L92

close

Emitted when the ReadStream closes.
Source:
fs.js#L171

open

Emitted when the ReadStream's file is opened.
Properties:
Name Type Description
fd number The file descriptor.
Source:
fs.js#L177

close

Emitted when the ReadStream closes.
Source:
fs.js#L193

open

Emitted when the ReadStream's file is opened.
Properties:
Name Type Description
fd number The file descriptor.
Source:
fs.js#L199