Returns location of targetPath relative to rootPath.
inputFileSystem.dirname(dirname): string
Attributes
inputFileSystem.join(path1, path2): string
Attributes
inputFileSystem.lstat(path, callback): void
Attributes
path:
PathLikeFsinputFileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs & { bigint?: false } | undefinedinputFileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs & { bigint: true }callback:
(err: ErrnoException | null, result?: IBigIntStatsFs) => voidinputFileSystem.lstat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs | undefinedcallback:
(err: ErrnoException | null, result?: IStatsFs | IBigIntStatsFs) => voidinputFileSystem.lstatSync(path): IStatsFs
Attributes
path:
PathLikeFsReturns:
IStatsFsinputFileSystem.lstatSync(path, options?): IStatsFs
Attributes
inputFileSystem.lstatSync(path, options): IBigIntStatsFs
Attributes
path:
PathLikeFsoptions:
StatSyncOptions & { bigint: true; throwIfNoEntry?: true }Returns:
IBigIntStatsFsinputFileSystem.lstatSync(path, options?): IStatsFs | undefined
Attributes
path:
PathLikeFsoptions:
StatSyncOptions & { bigint?: false; throwIfNoEntry: false }inputFileSystem.lstatSync(path, options): IBigIntStatsFs | undefined
Attributes
path:
PathLikeFsoptions:
StatSyncOptions & { bigint: true; throwIfNoEntry: false }Returns:
IBigIntStatsFs | undefinedinputFileSystem.lstatSync(path, options): IStatsFs | IBigIntStatsFs
Attributes
path:
PathLikeFsoptions:
StatSyncOptions & { bigint: boolean; throwIfNoEntry?: true }Returns:
IStatsFs | IBigIntStatsFsinputFileSystem.lstatSync(path, options?): IStatsFs | IBigIntStatsFs | undefined
Attributes
inputFileSystem.purge(value?, options?): void
Attributes
inputFileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeFsinputFileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeFsinputFileSystem.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 | undefinedinputFileSystem.readdir(path, callback): void
Attributes
path:
PathLikeFsinputFileSystem.readdir(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
ObjectEncodingOptionsFs & { recursive?: boolean; withFileTypes: true }inputFileSystem.readdir(path, options, callback): void
Attributes
inputFileSystem.readdirSync(path, options?): string[]
Attributes
path:
PathLikeFsReturns:
string[]inputFileSystem.readdirSync(path, options): Buffer<ArrayBufferLike>[]
Attributes
path:
PathLikeFsReturns:
Buffer<ArrayBufferLike>[]inputFileSystem.readdirSync(path, options?): string[] | Buffer<ArrayBufferLike>[]
Attributes
path:
PathLikeFsoptions:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ObjectEncodingOptionsFs & { recursive?: boolean; withFileTypes?: false } | nullReturns:
string[] | Buffer<ArrayBufferLike>[]inputFileSystem.readdirSync(path, options): DirentFs<string>[]
Attributes
path:
PathLikeFsoptions:
ObjectEncodingOptionsFs & { recursive?: boolean; withFileTypes: true }inputFileSystem.readdirSync(path, options): DirentFs<Buffer<ArrayBufferLike>>[]
Attributes
path:
PathLikeFsReturns:
DirentFs<Buffer<ArrayBufferLike>>[]inputFileSystem.readFile(path, options, callback): void
Attributes
inputFileSystem.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 } & AbortableinputFileSystem.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 | undefinedinputFileSystem.readFile(path, callback): void
Attributes
inputFileSystem.readFileSync(path, options?): Buffer
Attributes
inputFileSystem.readFileSync(path, options): string
Attributes
options:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | Objectencoding:
BufferEncodingflag:
stringReturns:
stringinputFileSystem.readFileSync(path, options?): string | Buffer<ArrayBufferLike>
Attributes
options:
"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ObjectEncodingOptionsFs & { flag?: string } | nullReturns:
string | Buffer<ArrayBufferLike>inputFileSystem.readJson(pathOrFileDescriptor, callback): void
Attributes
pathOrFileDescriptor:
PathOrFileDescriptorFscallback:
(err: Error | ErrnoException | null, result?: JsonObjectFs) => voidinputFileSystem.readJsonSync(pathOrFileDescriptor): JsonObjectFs
Attributes
pathOrFileDescriptor:
PathOrFileDescriptorFsReturns:
JsonObjectFsinputFileSystem.readlink(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
EncodingOptionFsinputFileSystem.readlink(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
BufferEncodingOptioninputFileSystem.readlink(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
EncodingOptionFsinputFileSystem.readlink(path, callback): void
Attributes
path:
PathLikeFsinputFileSystem.readlinkSync(path, options?): string
Attributes
inputFileSystem.readlinkSync(path, options): Buffer
Attributes
inputFileSystem.readlinkSync(path, options?): string | Buffer<ArrayBufferLike>
Attributes
inputFileSystem.realpath(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
EncodingOptionFsinputFileSystem.realpath(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
BufferEncodingOptioninputFileSystem.realpath(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
EncodingOptionFsinputFileSystem.realpath(path, callback): void
Attributes
path:
PathLikeFsinputFileSystem.realpathSync(path, options?): string
Attributes
inputFileSystem.realpathSync(path, options): Buffer
Attributes
inputFileSystem.realpathSync(path, options?): string | Buffer<ArrayBufferLike>
Attributes
inputFileSystem.relative(from, to): string
Attributes
inputFileSystem.stat(path, callback): void
Attributes
path:
PathLikeFsinputFileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs & { bigint?: false } | undefinedinputFileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs & { bigint: true }callback:
(err: ErrnoException | null, result?: IBigIntStatsFs) => voidinputFileSystem.stat(path, options, callback): void
Attributes
path:
PathLikeFsoptions:
StatOptionsFs | undefinedcallback:
(err: ErrnoException | null, result?: IStatsFs | IBigIntStatsFs) => voidinputFileSystem.statSync(path): IStatsFs
Attributes
path:
PathLikeFsReturns:
IStatsFsinputFileSystem.statSync(path, options?): IStatsFs
Attributes
inputFileSystem.statSync(path, options): IBigIntStatsFs
Attributes
path:
PathLikeFsoptions:
StatSyncOptions & { bigint: true; throwIfNoEntry?: true }Returns:
IBigIntStatsFsinputFileSystem.statSync(path, options?): IStatsFs | undefined
Attributes
path:
PathLikeFsoptions:
StatSyncOptions & { bigint?: false; throwIfNoEntry: false }inputFileSystem.statSync(path, options): IBigIntStatsFs | undefined
Attributes
path:
PathLikeFsoptions:
StatSyncOptions & { bigint: true; throwIfNoEntry: false }Returns:
IBigIntStatsFs | undefinedinputFileSystem.statSync(path, options): IStatsFs | IBigIntStatsFs
Attributes
path:
PathLikeFsoptions:
StatSyncOptions & { bigint: boolean; throwIfNoEntry?: true }Returns:
IStatsFs | IBigIntStatsFsinputFileSystem.statSync(path, options?): IStatsFs | IBigIntStatsFs | undefined
Attributes