UNPKG

univ-fs-webnfs

Version:

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

20 lines 830 B
import { AbstractFileSystem, Directory, File, FileSystemOptions, Stats, URLOptions } from "univ-fs"; export declare class WnfsFileSystem extends AbstractFileSystem { private root?; constructor(options?: FileSystemOptions); _doGetDirectory(path: string): Directory; _doGetFile(path: string): File; _doGetURL(path: string, isDirectory: boolean, options: URLOptions): Promise<string>; _doHead(path: string): Promise<Stats>; _doPatch(path: string): Promise<void>; _getParent(path: string): Promise<{ parent: FileSystemDirectoryHandle; name: string; }>; _getRoot(): Promise<FileSystemDirectoryHandle>; canPatchAccessed(): boolean; canPatchCreated(): boolean; canPatchModified(): boolean; supportDirectory(): boolean; } //# sourceMappingURL=WnfsFileSystem.d.ts.map