Readonly
fullFull path of the file system object
Readonly
kindDirectory kind: always "directory"
Readonly
nameName of the file or directory
Readonly
parentsParent 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