Interfaces

FSWatcher
ReadStream
Stats
WriteStream

Methods

SM appendFile(filename: string, data: any, options: module:fs.AppendFileOptionsType, callback: module:fs.AppendFileCallbackCallback) void

Parameters:
Name Type Argument
filename string
data any
options module:fs.AppendFileOptionsType
callback module:fs.AppendFileCallbackCallback <optional>
Returns: { void }

SM appendFile(filename: string, data: any, options: module:fs.AppendFileOptionsType, callback: module:fs.AppendFileCallbackCallback) void

Parameters:
Name Type Argument
filename string
data any
options module:fs.AppendFileOptionsType
callback module:fs.AppendFileCallbackCallback <optional>
Returns: { void }

SM appendFile(filename: string, data: any, callback: module:fs.AppendFileCallbackCallback) void

Parameters:
Name Type Argument
filename string
data any
callback module:fs.AppendFileCallbackCallback <optional>
Returns: { void }

SM appendFileSync(filename: string, data: any, options: module:fs.AppendFileSyncOptionsType) void

Parameters:
Name Type Argument
filename string
data any
options module:fs.AppendFileSyncOptionsType <optional>
Returns: { void }

SM appendFileSync(filename: string, data: any, options: module:fs.AppendFileSyncOptionsType) void

Parameters:
Name Type Argument
filename string
data any
options module:fs.AppendFileSyncOptionsType <optional>
Returns: { void }

SM chmod(path: string, mode: number, callback: module:fs.ChmodCallbackCallback) void

Parameters:
Name Type Argument
path string
mode number
callback module:fs.ChmodCallbackCallback <optional>
Returns: { void }

SM chmod(path: string, mode: string, callback: module:fs.ChmodCallbackCallback) void

Parameters:
Name Type Argument
path string
mode string
callback module:fs.ChmodCallbackCallback <optional>
Returns: { void }

SM chmodSync(path: string, mode: number) void

Parameters:
Name Type
path string
mode number
Returns: { void }

SM chmodSync(path: string, mode: string) void

Parameters:
Name Type
path string
mode string
Returns: { void }

SM chown(path: string, uid: number, gid: number, callback: module:fs.ChownCallbackCallback) void

Parameters:
Name Type Argument
path string
uid number
gid number
callback module:fs.ChownCallbackCallback <optional>
Returns: { void }

SM chownSync(path: string, uid: number, gid: number) void

Parameters:
Name Type
path string
uid number
gid number
Returns: { void }

SM close(fd: number, callback: module:fs.CloseCallbackCallback) void

Parameters:
Name Type Argument
fd number
callback module:fs.CloseCallbackCallback <optional>
Returns: { void }

SM closeSync(fd: number) void

Parameters:
Name Type
fd number
Returns: { void }

SM createReadStream(path: string, options: module:fs.CreateReadStreamOptionsType) fs.ReadStream

Parameters:
Name Type Argument
path string
options module:fs.CreateReadStreamOptionsType <optional>
Returns: { fs.ReadStream }

SM createReadStream(path: string, options: module:fs.CreateReadStreamOptionsType) fs.ReadStream

Parameters:
Name Type Argument
path string
options module:fs.CreateReadStreamOptionsType <optional>
Returns: { fs.ReadStream }

SM createWriteStream(path: string, options: module:fs.CreateWriteStreamOptionsType) fs.WriteStream

Parameters:
Name Type Argument
path string
options module:fs.CreateWriteStreamOptionsType <optional>
Returns: { fs.WriteStream }

SM exists(path: string, callback: module:fs.ExistsCallbackCallback) void

Parameters:
Name Type Argument
path string
callback module:fs.ExistsCallbackCallback <optional>
Returns: { void }

SM existsSync(path: string) boolean

Parameters:
Name Type
path string
Returns: { boolean }

SM fchmod(fd: number, mode: number, callback: module:fs.FchmodCallbackCallback) void

Parameters:
Name Type Argument
fd number
mode number
callback module:fs.FchmodCallbackCallback <optional>
Returns: { void }

SM fchmod(fd: number, mode: string, callback: module:fs.FchmodCallbackCallback) void

Parameters:
Name Type Argument
fd number
mode string
callback module:fs.FchmodCallbackCallback <optional>
Returns: { void }

SM fchmodSync(fd: number, mode: number) void

Parameters:
Name Type
fd number
mode number
Returns: { void }

SM fchmodSync(fd: number, mode: string) void

Parameters:
Name Type
fd number
mode string
Returns: { void }

SM fchown(fd: number, uid: number, gid: number, callback: module:fs.FchownCallbackCallback) void

Parameters:
Name Type Argument
fd number
uid number
gid number
callback module:fs.FchownCallbackCallback <optional>
Returns: { void }

SM fchownSync(fd: number, uid: number, gid: number) void

Parameters:
Name Type
fd number
uid number
gid number
Returns: { void }

SM fstat(fd: number, callback: module:fs.FstatCallbackCallback) void

Parameters:
Name Type Argument
fd number
callback module:fs.FstatCallbackCallback <optional>
Returns: { void }

SM fstatSync(fd: number) fs.Stats

Parameters:
Name Type
fd number
Returns: { fs.Stats }

SM fsync(fd: number, callback: module:fs.FsyncCallbackCallback) void

Parameters:
Name Type Argument
fd number
callback module:fs.FsyncCallbackCallback <optional>
Returns: { void }

SM fsyncSync(fd: number) void

Parameters:
Name Type
fd number
Returns: { void }

SM ftruncate(fd: number, callback: module:fs.FtruncateCallbackCallback) void

Parameters:
Name Type Argument
fd number
callback module:fs.FtruncateCallbackCallback <optional>
Returns: { void }

SM ftruncate(fd: number, len: number, callback: module:fs.FtruncateCallbackCallback) void

Parameters:
Name Type Argument
fd number
len number
callback module:fs.FtruncateCallbackCallback <optional>
Returns: { void }

SM ftruncateSync(fd: number, len: number) void

Parameters:
Name Type Argument
fd number
len number <optional>
Returns: { void }

SM futimes(fd: number, atime: number, mtime: number, callback: module:fs.FutimesCallbackCallback) void

Parameters:
Name Type Argument
fd number
atime number
mtime number
callback module:fs.FutimesCallbackCallback <optional>
Returns: { void }

SM futimes(fd: number, atime: Date, mtime: Date, callback: module:fs.FutimesCallbackCallback) void

Parameters:
Name Type Argument
fd number
atime Date
mtime Date
callback module:fs.FutimesCallbackCallback <optional>
Returns: { void }

SM futimesSync(fd: number, atime: number, mtime: number) void

Parameters:
Name Type
fd number
atime number
mtime number
Returns: { void }

SM futimesSync(fd: number, atime: Date, mtime: Date) void

Parameters:
Name Type
fd number
atime Date
mtime Date
Returns: { void }

SM lchmod(path: string, mode: number, callback: module:fs.LchmodCallbackCallback) void

Parameters:
Name Type Argument
path string
mode number
callback module:fs.LchmodCallbackCallback <optional>
Returns: { void }

SM lchmod(path: string, mode: string, callback: module:fs.LchmodCallbackCallback) void

Parameters:
Name Type Argument
path string
mode string
callback module:fs.LchmodCallbackCallback <optional>
Returns: { void }

SM lchmodSync(path: string, mode: number) void

Parameters:
Name Type
path string
mode number
Returns: { void }

SM lchmodSync(path: string, mode: string) void

Parameters:
Name Type
path string
mode string
Returns: { void }

SM lchown(path: string, uid: number, gid: number, callback: module:fs.LchownCallbackCallback) void

Parameters:
Name Type Argument
path string
uid number
gid number
callback module:fs.LchownCallbackCallback <optional>
Returns: { void }

SM lchownSync(path: string, uid: number, gid: number) void

Parameters:
Name Type
path string
uid number
gid number
Returns: { void }

SM linkSync(srcpath: string, dstpath: string) void

Parameters:
Name Type
srcpath string
dstpath string
Returns: { void }

SM lstat(path: string, callback: module:fs.LstatCallbackCallback) void

Parameters:
Name Type Argument
path string
callback module:fs.LstatCallbackCallback <optional>
Returns: { void }

SM lstatSync(path: string) fs.Stats

Parameters:
Name Type
path string
Returns: { fs.Stats }

SM mkdir(path: string, callback: module:fs.MkdirCallbackCallback) void

Parameters:
Name Type Argument
path string
callback module:fs.MkdirCallbackCallback <optional>
Returns: { void }

SM mkdir(path: string, mode: number, callback: module:fs.MkdirCallbackCallback) void

Parameters:
Name Type Argument
path string
mode number
callback module:fs.MkdirCallbackCallback <optional>
Returns: { void }

SM mkdir(path: string, mode: string, callback: module:fs.MkdirCallbackCallback) void

Parameters:
Name Type Argument
path string
mode string
callback module:fs.MkdirCallbackCallback <optional>
Returns: { void }

SM mkdirSync(path: string, mode: number) void

Parameters:
Name Type Argument
path string
mode number <optional>
Returns: { void }

SM mkdirSync(path: string, mode: string) void

Parameters:
Name Type Argument
path string
mode string <optional>
Returns: { void }

SM open(path: string, flags: string, callback: module:fs.OpenCallbackCallback) void

Parameters:
Name Type Argument
path string
flags string
callback module:fs.OpenCallbackCallback <optional>
Returns: { void }

SM open(path: string, flags: string, mode: number, callback: module:fs.OpenCallbackCallback) void

Parameters:
Name Type Argument
path string
flags string
mode number
callback module:fs.OpenCallbackCallback <optional>
Returns: { void }

SM open(path: string, flags: string, mode: string, callback: module:fs.OpenCallbackCallback) void

Parameters:
Name Type Argument
path string
flags string
mode string
callback module:fs.OpenCallbackCallback <optional>
Returns: { void }

SM openSync(path: string, flags: string, mode: number) number

Parameters:
Name Type Argument
path string
flags string
mode number <optional>
Returns: { number }

SM openSync(path: string, flags: string, mode: string) number

Parameters:
Name Type Argument
path string
flags string
mode string <optional>
Returns: { number }

SM read(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback: module:fs.ReadCallbackCallback) void

Parameters:
Name Type Argument
fd number
buffer Buffer
offset number
length number
position number
callback module:fs.ReadCallbackCallback <optional>
Returns: { void }

SM readdir(path: string, callback: module:fs.ReaddirCallbackCallback) void

Parameters:
Name Type Argument
path string
callback module:fs.ReaddirCallbackCallback <optional>
Returns: { void }

SM readdirSync(path: string) string[]

Parameters:
Name Type
path string
Returns: { Array.<string> }

SM readFile(filename: string, encoding: string, callback: module:fs.ReadFileCallbackCallback) void

Parameters:
Name Type
filename string
encoding string
callback module:fs.ReadFileCallbackCallback
Returns: { void }

SM readFile(filename: string, options: module:fs.ReadFileOptionsType, callback: module:fs.ReadFileCallbackCallback) void

Parameters:
Name Type
filename string
options module:fs.ReadFileOptionsType
callback module:fs.ReadFileCallbackCallback
Returns: { void }

SM readFile(filename: string, options: module:fs.ReadFileOptionsType, callback: module:fs.ReadFileCallbackCallback) void

Parameters:
Name Type
filename string
options module:fs.ReadFileOptionsType
callback module:fs.ReadFileCallbackCallback
Returns: { void }

SM readFile(filename: string, callback: module:fs.ReadFileCallbackCallback) void

Parameters:
Name Type
filename string
callback module:fs.ReadFileCallbackCallback
Returns: { void }

SM readFileSync(filename: string, encoding: string) string

Parameters:
Name Type
filename string
encoding string
Returns: { string }

SM readFileSync(filename: string, options: module:fs.ReadFileSyncOptionsType) string

Parameters:
Name Type
filename string
options module:fs.ReadFileSyncOptionsType
Returns: { string }

SM readFileSync(filename: string, options: module:fs.ReadFileSyncOptionsType) Buffer

Parameters:
Name Type Argument
filename string
options module:fs.ReadFileSyncOptionsType <optional>
Returns: { Buffer }

SM readlinkSync(path: string) string

Parameters:
Name Type
path string
Returns: { string }

SM readSync(fd: number, buffer: Buffer, offset: number, length: number, position: number) number

Parameters:
Name Type
fd number
buffer Buffer
offset number
length number
position number
Returns: { number }

SM realpath(path: string, callback: module:fs.RealpathCallbackCallback) void

Parameters:
Name Type Argument
path string
callback module:fs.RealpathCallbackCallback <optional>
Returns: { void }

SM realpath(path: string, cache: module:fs.RealpathCacheType, callback: module:fs.RealpathCallbackCallback) void

Parameters:
Name Type
path string
cache module:fs.RealpathCacheType
callback module:fs.RealpathCallbackCallback
Returns: { void }

SM realpathSync(path: string, cache: module:fs.RealpathSyncCacheType) string

Parameters:
Name Type Argument
path string
cache module:fs.RealpathSyncCacheType <optional>
Returns: { string }

SM rename(oldPath: string, newPath: string, callback: module:fs.RenameCallbackCallback) void

Parameters:
Name Type Argument
oldPath string
newPath string
callback module:fs.RenameCallbackCallback <optional>
Returns: { void }

SM renameSync(oldPath: string, newPath: string) void

Parameters:
Name Type
oldPath string
newPath string
Returns: { void }

SM rmdir(path: string, callback: module:fs.RmdirCallbackCallback) void

Parameters:
Name Type Argument
path string
callback module:fs.RmdirCallbackCallback <optional>
Returns: { void }

SM rmdirSync(path: string) void

Parameters:
Name Type
path string
Returns: { void }

SM stat(path: string, callback: module:fs.StatCallbackCallback) void

Parameters:
Name Type Argument
path string
callback module:fs.StatCallbackCallback <optional>
Returns: { void }

SM statSync(path: string) fs.Stats

Parameters:
Name Type
path string
Returns: { fs.Stats }

SM symlinkSync(srcpath: string, dstpath: string, type: string) void

Parameters:
Name Type Argument
srcpath string
dstpath string
type string <optional>
Returns: { void }

SM truncate(path: string, callback: module:fs.TruncateCallbackCallback) void

Parameters:
Name Type Argument
path string
callback module:fs.TruncateCallbackCallback <optional>
Returns: { void }

SM truncate(path: string, len: number, callback: module:fs.TruncateCallbackCallback) void

Parameters:
Name Type Argument
path string
len number
callback module:fs.TruncateCallbackCallback <optional>
Returns: { void }

SM truncateSync(path: string, len: number) void

Parameters:
Name Type Argument
path string
len number <optional>
Returns: { void }

SM unlinkSync(path: string) void

Parameters:
Name Type
path string
Returns: { void }

SM unwatchFile(filename: string, listener: module:fs.UnwatchFileListenerCallback) void

Parameters:
Name Type Argument
filename string
listener module:fs.UnwatchFileListenerCallback <optional>
Returns: { void }

SM utimes(path: string, atime: number, mtime: number, callback: module:fs.UtimesCallbackCallback) void

Parameters:
Name Type Argument
path string
atime number
mtime number
callback module:fs.UtimesCallbackCallback <optional>
Returns: { void }

SM utimes(path: string, atime: Date, mtime: Date, callback: module:fs.UtimesCallbackCallback) void

Parameters:
Name Type Argument
path string
atime Date
mtime Date
callback module:fs.UtimesCallbackCallback <optional>
Returns: { void }

SM utimesSync(path: string, atime: number, mtime: number) void

Parameters:
Name Type
path string
atime number
mtime number
Returns: { void }

SM utimesSync(path: string, atime: Date, mtime: Date) void

Parameters:
Name Type
path string
atime Date
mtime Date
Returns: { void }

SM watch(filename: string, listener: module:fs.WatchListenerCallback) fs.FSWatcher

Parameters:
Name Type Argument
filename string
listener module:fs.WatchListenerCallback <optional>
Returns: { fs.FSWatcher }

SM watch(filename: string, options: module:fs.WatchOptionsType, listener: module:fs.WatchListenerCallback) fs.FSWatcher

Parameters:
Name Type Argument
filename string
options module:fs.WatchOptionsType
listener module:fs.WatchListenerCallback <optional>
Returns: { fs.FSWatcher }

SM watchFile(filename: string, listener: module:fs.WatchFileListenerCallback) void

Parameters:
Name Type
filename string
listener module:fs.WatchFileListenerCallback
Returns: { void }

SM watchFile(filename: string, options: module:fs.WatchFileOptionsType, listener: module:fs.WatchFileListenerCallback) void

Parameters:
Name Type
filename string
options module:fs.WatchFileOptionsType
listener module:fs.WatchFileListenerCallback
Returns: { void }

SM write(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback: module:fs.WriteCallbackCallback) void

Parameters:
Name Type Argument
fd number
buffer Buffer
offset number
length number
position number
callback module:fs.WriteCallbackCallback <optional>
Returns: { void }

SM writeFile(filename: string, data: any, callback: module:fs.WriteFileCallbackCallback) void

Parameters:
Name Type Argument
filename string
data any
callback module:fs.WriteFileCallbackCallback <optional>
Returns: { void }

SM writeFile(filename: string, data: any, options: module:fs.WriteFileOptionsType, callback: module:fs.WriteFileCallbackCallback) void

Parameters:
Name Type Argument
filename string
data any
options module:fs.WriteFileOptionsType
callback module:fs.WriteFileCallbackCallback <optional>
Returns: { void }

SM writeFile(filename: string, data: any, options: module:fs.WriteFileOptionsType, callback: module:fs.WriteFileCallbackCallback) void

Parameters:
Name Type Argument
filename string
data any
options module:fs.WriteFileOptionsType
callback module:fs.WriteFileCallbackCallback <optional>
Returns: { void }

SM writeFileSync(filename: string, data: any, options: module:fs.WriteFileSyncOptionsType) void

Parameters:
Name Type Argument
filename string
data any
options module:fs.WriteFileSyncOptionsType <optional>
Returns: { void }

SM writeFileSync(filename: string, data: any, options: module:fs.WriteFileSyncOptionsType) void

Parameters:
Name Type Argument
filename string
data any
options module:fs.WriteFileSyncOptionsType <optional>
Returns: { void }

SM writeSync(fd: number, buffer: Buffer, offset: number, length: number, position: number) number

Parameters:
Name Type
fd number
buffer Buffer
offset number
length number
position number
Returns: { number }

Callbacks

AppendFileCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type
err NodeJS.ErrnoException
Returns: { void }

AppendFileCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type
err NodeJS.ErrnoException
Returns: { void }

AppendFileCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type
err NodeJS.ErrnoException
Returns: { void }

ChmodCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

ChmodCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

ChownCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

CloseCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

ExistsCallbackCallback(exists: boolean) void

Parameters:
Name Type
exists boolean
Returns: { void }

FchmodCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

FchmodCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

FchownCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

FstatCallbackCallback(err: NodeJS.ErrnoException, stats: fs.Stats) any

Parameters:
Name Type
err NodeJS.ErrnoException
stats fs.Stats
Returns: { any }

FsyncCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

FtruncateCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

FtruncateCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

FutimesCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

FutimesCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

LchmodCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

LchmodCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

LchownCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

LinkCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

LstatCallbackCallback(err: NodeJS.ErrnoException, stats: fs.Stats) any

Parameters:
Name Type
err NodeJS.ErrnoException
stats fs.Stats
Returns: { any }

MkdirCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

MkdirCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

MkdirCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

OpenCallbackCallback(err: NodeJS.ErrnoException, fd: number) any

Parameters:
Name Type
err NodeJS.ErrnoException
fd number
Returns: { any }

OpenCallbackCallback(err: NodeJS.ErrnoException, fd: number) any

Parameters:
Name Type
err NodeJS.ErrnoException
fd number
Returns: { any }

OpenCallbackCallback(err: NodeJS.ErrnoException, fd: number) any

Parameters:
Name Type
err NodeJS.ErrnoException
fd number
Returns: { any }

ReadCallbackCallback(err: NodeJS.ErrnoException, bytesRead: number, buffer: Buffer) void

Parameters:
Name Type
err NodeJS.ErrnoException
bytesRead number
buffer Buffer
Returns: { void }

ReaddirCallbackCallback(err: NodeJS.ErrnoException, files: string[]) void

Parameters:
Name Type
err NodeJS.ErrnoException
files Array.<string>
Returns: { void }

ReadFileCallbackCallback(err: NodeJS.ErrnoException, data: Buffer) void

Parameters:
Name Type
err NodeJS.ErrnoException
data Buffer
Returns: { void }

ReadFileCallbackCallback(err: NodeJS.ErrnoException, data: string) void

Parameters:
Name Type
err NodeJS.ErrnoException
data string
Returns: { void }

ReadFileCallbackCallback(err: NodeJS.ErrnoException, data: string) void

Parameters:
Name Type
err NodeJS.ErrnoException
data string
Returns: { void }

ReadFileCallbackCallback(err: NodeJS.ErrnoException, data: Buffer) void

Parameters:
Name Type
err NodeJS.ErrnoException
data Buffer
Returns: { void }

ReadlinkCallbackCallback(err: NodeJS.ErrnoException, linkString: string) any

Parameters:
Name Type
err NodeJS.ErrnoException
linkString string
Returns: { any }

RealpathCallbackCallback(err: NodeJS.ErrnoException, resolvedPath: string) any

Parameters:
Name Type
err NodeJS.ErrnoException
resolvedPath string
Returns: { any }

RealpathCallbackCallback(err: NodeJS.ErrnoException, resolvedPath: string) any

Parameters:
Name Type
err NodeJS.ErrnoException
resolvedPath string
Returns: { any }

RenameCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

RmdirCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

StatCallbackCallback(err: NodeJS.ErrnoException, stats: fs.Stats) any

Parameters:
Name Type
err NodeJS.ErrnoException
stats fs.Stats
Returns: { any }

SymlinkCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

TruncateCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

TruncateCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

UnlinkCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

UnwatchFileListenerCallback(curr: fs.Stats, prev: fs.Stats) void

Parameters:
Name Type
curr fs.Stats
prev fs.Stats
Returns: { void }

UtimesCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

UtimesCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type Argument
err NodeJS.ErrnoException <optional>
Returns: { void }

WatchFileListenerCallback(curr: fs.Stats, prev: fs.Stats) void

Parameters:
Name Type
curr fs.Stats
prev fs.Stats
Returns: { void }

WatchFileListenerCallback(curr: fs.Stats, prev: fs.Stats) void

Parameters:
Name Type
curr fs.Stats
prev fs.Stats
Returns: { void }

WatchListenerCallback(event: string, filename: string) any

Parameters:
Name Type
event string
filename string
Returns: { any }

WatchListenerCallback(event: string, filename: string) any

Parameters:
Name Type
event string
filename string
Returns: { any }

WriteCallbackCallback(err: NodeJS.ErrnoException, written: number, buffer: Buffer) void

Parameters:
Name Type
err NodeJS.ErrnoException
written number
buffer Buffer
Returns: { void }

WriteFileCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type
err NodeJS.ErrnoException
Returns: { void }

WriteFileCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type
err NodeJS.ErrnoException
Returns: { void }

WriteFileCallbackCallback(err: NodeJS.ErrnoException) void

Parameters:
Name Type
err NodeJS.ErrnoException
Returns: { void }

Type Definitions

T AppendFileOptionsType

Type:
  • Object

T AppendFileOptionsType

Type:
  • Object
Properties:
Name Type
encoding string
mode string
flag string

T AppendFileSyncOptionsType

Type:
  • Object
Properties:
Name Type
encoding string
mode string
flag string

T AppendFileSyncOptionsType

Type:
  • Object

T CreateReadStreamOptionsType

Type:
  • Object

T CreateReadStreamOptionsType

Type:
  • Object
Properties:
Name Type
flags string
encoding string
fd string
mode string
bufferSize number

T CreateWriteStreamOptionsType

Type:
  • Object
Properties:
Name Type
flags string
encoding string
string string

T ReadFileOptionsType

Type:
  • Object
Properties:
Name Type
encoding string
flag string

T ReadFileOptionsType

Type:
  • Object

T ReadFileSyncOptionsType

Type:
  • Object

T ReadFileSyncOptionsType

Type:
  • Object
Properties:
Name Type
encoding string
flag string

T RealpathCacheType

Type:
  • Object

T RealpathSyncCacheType

Type:
  • Object

T WatchFileOptionsType

Type:
  • Object
Properties:
Name Type
persistent boolean
interval number

T WatchOptionsType

Type:
  • Object
Properties:
Name Type
persistent boolean

T WriteFileOptionsType

Type:
  • Object

T WriteFileOptionsType

Type:
  • Object
Properties:
Name Type
encoding string
mode string
flag string

T WriteFileSyncOptionsType

Type:
  • Object

T WriteFileSyncOptionsType

Type:
  • Object
Properties:
Name Type
encoding string
mode string
flag string