fileSystem.lstat(path, callback): void
Attributes
path:
PathLikeTypescallback:
(err: ErrnoException | null, result?: IStatsTypes) => voidlstat method
fileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
StatOptionsTypes & { bigint?: false } | undefinedcallback:
(err: ErrnoException | null, result?: IStatsTypes) => voidlstat method
fileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
StatOptionsTypes & { bigint: true }callback:
(err: ErrnoException | null, result?: IBigIntStatsTypes) => voidlstat method
fileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
StatOptionsTypes | undefinedcallback:
(err: ErrnoException | null, result?: IStatsTypes | IBigIntStatsTypes) => voidlstat method
fileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeTypesreaddir method
fileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeTypesreaddir method
fileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ObjectEncodingOptionsTypes & { recursive?: boolean; withFileTypes?: false } | null | undefinedreaddir method
fileSystem.readdir(path, callback): void
Attributes
path:
PathLikeTypesreaddir method
fileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
ObjectEncodingOptionsTypes & { recursive?: boolean; withFileTypes: true }callback:
(err: ErrnoException | null, files?: DirentTypes<string>[]) => voidreaddir method
fileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeTypescallback:
(err: ErrnoException | null, files: DirentTypes<Buffer<ArrayBufferLike>>[]) => voidreaddir method
fileSystem.readFile(path, options, callback): void
Attributes
read file method
fileSystem.readFile(path, options, callback): void
Attributes
options:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | { encoding: BufferEncoding; flag?: string } & Abortableread file method
fileSystem.readFile(path, options, callback): void
Attributes
options:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ObjectEncodingOptionsTypes & { flag?: string } & Abortable | null | undefinedread file method
fileSystem.readFile(path, callback): void
Attributes
read file method
fileSystem.readJson(pathOrFileDescription, callback): void
Attributes
pathOrFileDescription:
PathOrFileDescriptorTypescallback:
(err: Error | ErrnoException | null, result?: JsonObjectTypes) => voidread json method
fileSystem.readlink(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
EncodingOptionTypesread link method
fileSystem.readlink(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
BufferEncodingOptionread link method
fileSystem.readlink(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
EncodingOptionTypesread link method
fileSystem.readlink(path, callback): void
Attributes
path:
PathLikeTypesread link method
fileSystem.realpath(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
EncodingOptionTypesrealpath method
fileSystem.realpath(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
BufferEncodingOptionrealpath method
fileSystem.realpath(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
EncodingOptionTypesrealpath method
fileSystem.realpath(path, callback): void
Attributes
path:
PathLikeTypesrealpath method
fileSystem.stat(path, callback): void
Attributes
path:
PathLikeTypescallback:
(err: ErrnoException | null, result?: IStatsTypes) => voidstat method
fileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
StatOptionsTypes & { bigint?: false } | undefinedcallback:
(err: ErrnoException | null, result?: IStatsTypes) => voidstat method
fileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
StatOptionsTypes & { bigint: true }callback:
(err: ErrnoException | null, result?: IBigIntStatsTypes) => voidstat method
fileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeTypesoptions:
StatOptionsTypes | undefinedcallback:
(err: ErrnoException | null, result?: IStatsTypes | IBigIntStatsTypes) => voidstat method