Interface FileSystemDirectoryHandle

    Available only in secure contexts.

    MDN Reference

    interface FileSystemDirectoryHandle {
        kind: "directory";
        name: string;
        [asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
        entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
        getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
        getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
        isSameEntry(other: FileSystemHandle): Promise<boolean>;
        keys(): FileSystemDirectoryHandleAsyncIterator<string>;
        removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
        resolve(possibleDescendant: FileSystemHandle): Promise<string[]>;
        values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;
    }
    Hierarchy

    Properties

    kind: "directory"
    name: string

    Methods