Function checkPermissionsOfHandle

  • Check to see if we have been granted permissions to the folders Note! The user need to do some sort of action to invoke this function or it will throw an error silently and is difficult to debug.

    Returns

    false if denied by user

    Parameters

    • handle: FileSystemDirectoryHandle | FileSystemFileHandle
    • mode: FileSystemPermissionMode = "read"

    Returns Promise<boolean>

Generated using TypeDoc