Interface AsyncInternal

interface Async {
    constructor: any;
    _sync?: FileSystem;
    createFileSync(path: string, flag: string, mode: number): File<FileSystem>;
    linkSync(srcpath: string, dstpath: string): void;
    mkdirSync(path: string, mode: number): void;
    openFileSync(path: string, flag: string): File<FileSystem>;
    queueDone(): Promise<void>;
    readdirSync(path: string): string[];
    ready(): Promise<void>;
    renameSync(oldPath: string, newPath: string): void;
    rmdirSync(path: string): void;
    statSync(path: string): Stats;
    syncSync(path: string, data: Uint8Array, stats: Readonly<Stats>): void;
    unlinkSync(path: string): void;
}

Constructors

constructor: any

Properties

_sync?: FileSystem

Methods

  • Parameters

    • srcpath: string
    • dstpath: string

    Returns void

  • Parameters

    • oldPath: string
    • newPath: string

    Returns void

  • Parameters

    • path: string
    • data: Uint8Array
    • stats: Readonly<Stats>

    Returns void