Interface ReadonlyMixinInternal
interface ReadonlyMixin { createFile(path: string, flag: string, mode: number): Promise<never>; createFileSync(path: string, flag: string, mode: number): never; link(srcpath: string, dstpath: string): Promise<never>; linkSync(srcpath: string, dstpath: string): never; metadata(): FileSystemMetadata; mkdir(path: string, mode: number): Promise<never>; mkdirSync(path: string, mode: number): never; rename(oldPath: string, newPath: string): Promise<never>; renameSync(oldPath: string, newPath: string): never; rmdir(path: string): Promise<never>; rmdirSync(path: string): never; sync( path: string, data: Uint8Array<ArrayBufferLike>, stats: Readonly<StatsLike<number>>, ): Promise<never>; syncSync( path: string, data: Uint8Array<ArrayBufferLike>, stats: Readonly<StatsLike<number>>, ): never; unlink(path: string): Promise<never>; unlinkSync(path: string): never; write( path: string, buffer: Uint8Array<ArrayBufferLike>, offset: number, ): Promise<never>; writeSync( path: string, buffer: Uint8Array<ArrayBufferLike>, offset: number, ): Promise<never>;} Methods
createFile
- createFile(path: string, flag: string, mode: number): Promise<never>
Parameters
- path: string
- flag: string
- mode: number
Returns Promise<never>
createFileSync
- createFileSync(path: string, flag: string, mode: number): never
Parameters
- path: string
- flag: string
- mode: number
Returns never
link
- link(srcpath: string, dstpath: string): Promise<never>
Parameters
- srcpath: string
- dstpath: string
Returns Promise<never>
linkSync
- linkSync(srcpath: string, dstpath: string): never
Parameters
- srcpath: string
- dstpath: string
Returns never
mkdir
- mkdir(path: string, mode: number): Promise<never>
Returns Promise<never>
mkdirSync
- mkdirSync(path: string, mode: number): never
Returns never
rename
- rename(oldPath: string, newPath: string): Promise<never>
Parameters
- oldPath: string
- newPath: string
Returns Promise<never>
renameSync
- renameSync(oldPath: string, newPath: string): never
Parameters
- oldPath: string
- newPath: string
Returns never
rmdir
- rmdir(path: string): Promise<never>
Returns Promise<never>
rmdirSync
- rmdirSync(path: string): never
Returns never
sync
- sync(
path: string,
data: Uint8Array<ArrayBufferLike>,
stats: Readonly<StatsLike<number>>,
): Promise<never> Parameters
- path: string
- data: Uint8Array<ArrayBufferLike>
- stats: Readonly<StatsLike<number>>
Returns Promise<never>
syncSync
- syncSync(
path: string,
data: Uint8Array<ArrayBufferLike>,
stats: Readonly<StatsLike<number>>,
): never Parameters
- path: string
- data: Uint8Array<ArrayBufferLike>
- stats: Readonly<StatsLike<number>>
Returns never
unlink
- unlink(path: string): Promise<never>
Returns Promise<never>
unlinkSync
- unlinkSync(path: string): never
Returns never
write
- write(
path: string,
buffer: Uint8Array<ArrayBufferLike>,
offset: number,
): Promise<never> Parameters
- path: string
- buffer: Uint8Array<ArrayBufferLike>
- offset: number
Returns Promise<never>
writeSync
- writeSync(
path: string,
buffer: Uint8Array<ArrayBufferLike>,
offset: number,
): Promise<never> Parameters
- path: string
- buffer: Uint8Array<ArrayBufferLike>
- offset: number
Returns Promise<never>