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

  • Parameters

    • path: string
    • flag: string
    • mode: number

    Returns Promise<never>

  • Parameters

    • path: string
    • flag: string
    • mode: number

    Returns never

  • Parameters

    • srcpath: string
    • dstpath: string

    Returns Promise<never>

  • Parameters

    • srcpath: string
    • dstpath: string

    Returns never

  • Parameters

    • path: string
    • mode: number

    Returns Promise<never>

  • Parameters

    • path: string
    • mode: number

    Returns never

  • Parameters

    • oldPath: string
    • newPath: string

    Returns Promise<never>

  • Parameters

    • oldPath: string
    • newPath: string

    Returns never

  • Parameters

    • path: string
    • data: Uint8Array<ArrayBufferLike>
    • stats: Readonly<StatsLike<number>>

    Returns Promise<never>

  • Parameters

    • path: string
    • data: Uint8Array<ArrayBufferLike>
    • stats: Readonly<StatsLike<number>>

    Returns never

  • Parameters

    • path: string
    • buffer: Uint8Array<ArrayBufferLike>
    • offset: number

    Returns Promise<never>

  • Parameters

    • path: string
    • buffer: Uint8Array<ArrayBufferLike>
    • offset: number

    Returns Promise<never>