@nextcloud/dialogs
    Preparing search index...

    Interface FileSystemDirectoryHandle

    The FileSystemDirectoryHandle interface of the File System API provides a handle to a file system directory. Available only in secure contexts.

    MDN Reference

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

    Hierarchy (View Summary)

    Index
    kind: "directory"

    The kind read-only property of the 'file' if the associated entry is a file or 'directory'.

    MDN Reference

    name: string

    The name read-only property of the handle.

    MDN Reference

    • The isSameEntry() method of the js-nolint isSameEntry(fileSystemHandle) - FileSystemHandle - : The FileSystemHandle to match against the handle on which the method is invoked.

      MDN Reference

      Parameters

      Returns Promise<boolean>

    • The removeEntry() method of the directory handle contains a file or directory called the name specified.

      MDN Reference

      Parameters

      Returns Promise<void>

    • The resolve() method of the directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.

      MDN Reference

      Parameters

      Returns Promise<string[] | null>