On this page

Source Code: lib/util/fs.js#L521

Returns location of targetPath relative to rootPath.

intermediateFileSystemExtras.close(df, callback): void
Source Code: lib/util/fs.js#L526
Attributes
callback:(err: ErrnoException | null) => void
intermediateFileSystemExtras.createWriteStream(pathLike, result?): WritableStream
Source Code: lib/util/fs.js#L523
Attributes
pathLike:PathLikeFs
result:"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | WriteStreamOptions
intermediateFileSystemExtras.mkdirSync(path, options): string | undefined
Source Code: lib/util/fs.js#L522
Attributes
options:MakeDirectoryOptions & { recursive: true }
Returns:string | undefined
intermediateFileSystemExtras.mkdirSync(path, options?): void
Source Code: lib/util/fs.js#L522
Attributes
options:string | number | MakeDirectoryOptions & { recursive?: false } | null
intermediateFileSystemExtras.mkdirSync(path, options?): string | undefined
Source Code: lib/util/fs.js#L522
Attributes
intermediateFileSystemExtras.open(file, flags, mode, callback): void
Source Code: lib/util/fs.js#L524
Attributes
callback:(err: ErrnoException | null, result?: number) => void
intermediateFileSystemExtras.open(file, flags, callback): void
Source Code: lib/util/fs.js#L524
Attributes
callback:(err: ErrnoException | null, result?: number) => void
intermediateFileSystemExtras.open(file, callback): void
Source Code: lib/util/fs.js#L524
Attributes
callback:(err: ErrnoException | null, result?: number) => void
intermediateFileSystemExtras.read(fd, buffer, offset, length, position, callback): void
Source Code: lib/util/fs.js#L525
Attributes
offset:number
length:number
position:number | bigint | null
callback:(err: ErrnoException | null, bytesRead: number, buffer: TBuffer) => void
intermediateFileSystemExtras.read(fd, options, callback): void
Source Code: lib/util/fs.js#L525
Attributes
options:ReadAsyncOptions<TBuffer>
callback:(err: ErrnoException | null, bytesRead: number, buffer: TBuffer) => void
intermediateFileSystemExtras.read(fd, callback): void
Source Code: lib/util/fs.js#L525
Attributes
callback:(err: ErrnoException | null, bytesRead: number, buffer: ArrayBufferView) => void
intermediateFileSystemExtras.rename(a, b, callback): void
Source Code: lib/util/fs.js#L527
Attributes
callback:(err: ErrnoException | null) => void