Returns location of targetPath relative to rootPath.
outputFileSystem.createReadStream(path, options?): ReadableStream
Attributes
path:
PathLikeFsoptions:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ReadStreamOptionsReturns:
ReadableStreamoutputFileSystem.dirname(dirname): string
Attributes
outputFileSystem.join(path1, path2): string
Attributes
outputFileSystem.lstat(path, callback): void
Attributes
path:
PathLikeFsoutputFileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs & { bigint?: false } | undefinedoutputFileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs & { bigint: true }callback:
(err: ErrnoException | null, result?: IBigIntStatsFs) => voidoutputFileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs | undefinedcallback:
(err: ErrnoException | null, result?: IStatsFs | IBigIntStatsFs) => voidoutputFileSystem.mkdir(file, options, callback): void
Attributes
file:
PathLikeFsoptions:
MakeDirectoryOptions & { recursive: true }outputFileSystem.mkdir(file, options, callback): void
Attributes
file:
PathLikeFsoptions:
string | number | MakeDirectoryOptions & { recursive?: false } | null | undefinedoutputFileSystem.mkdir(file, options, callback): void
Attributes
file:
PathLikeFsoptions:
string | number | MakeDirectoryOptions | null | undefinedoutputFileSystem.mkdir(file, callback): void
Attributes
file:
PathLikeFsoutputFileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeFsoutputFileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeFsoutputFileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ObjectEncodingOptionsFs & { recursive?: boolean; withFileTypes?: false } | null | undefinedoutputFileSystem.readdir(path, callback): void
Attributes
path:
PathLikeFsoutputFileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
ObjectEncodingOptionsFs & { recursive?: boolean; withFileTypes: true }outputFileSystem.readdir(path, options, callback): void
Attributes
outputFileSystem.readFile(path, options, callback): void
Attributes
outputFileSystem.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 } & AbortableoutputFileSystem.readFile(path, options, callback): void
Attributes
options:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ObjectEncodingOptionsFs & { flag?: string } & Abortable | null | undefinedoutputFileSystem.readFile(path, callback): void
Attributes
outputFileSystem.relative(from, to): string
Attributes
outputFileSystem.rmdir(file, callback): void
Attributes
file:
PathLikeFsoutputFileSystem.stat(path, callback): void
Attributes
path:
PathLikeFsoutputFileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs & { bigint?: false } | undefinedoutputFileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs & { bigint: true }callback:
(err: ErrnoException | null, result?: IBigIntStatsFs) => voidoutputFileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs | undefinedcallback:
(err: ErrnoException | null, result?: IStatsFs | IBigIntStatsFs) => voidoutputFileSystem.unlink(pathLike, callback): void
Attributes
pathLike:
PathLikeFsoutputFileSystem.writeFile(file, data, options, callback): void
Attributes
data:
string | ArrayBufferView<ArrayBufferLike>options:
WriteFileOptionsoutputFileSystem.writeFile(file, data, callback): void
Attributes
data:
string | ArrayBufferView<ArrayBufferLike>