UNPKG

univ-fs-webnfs

Version:

The universal Filesystem for Web File System Access API (Native File System API)

14 lines 602 B
import { Data } from "univ-conv"; import { AbstractFile, ReadOptions, Stats, WriteOptions } from "univ-fs"; import { WnfsFileSystem } from "./WnfsFileSystem"; export declare class WnfsFile extends AbstractFile { wfs: WnfsFileSystem; constructor(wfs: WnfsFileSystem, path: string); _doDelete(): Promise<void>; _doRead(_stats: Stats, _options: ReadOptions): Promise<Data>; _doWrite(data: Data, stats: Stats, options: WriteOptions): Promise<void>; supportAppend(): boolean; supportRangeRead(): boolean; supportRangeWrite(): boolean; } //# sourceMappingURL=WnfsFile.d.ts.map