ReadonlyfullFull path of the file system object
ReadonlykindDirectory kind: always "directory"
ReadonlynameName of the file or directory
ReadonlyparentsParent directories as an array of strings
Copy this directory and its contents to a destination directory.
Destination directory handle or OPDir instance.
Create the directory in OPFS. If it already exists, does nothing.
The underlying FileSystemDirectoryHandle.
Checks if the directory exists.
true if the directory exists, false otherwise.
Move this directory to a destination.
Destination directory handle or OPDir instance.
Represents a directory in the OPFS (Origin Private File System). Provides methods to create, query, enumerate, copy, move, and remove directories.
Example