StorageManager
The StorageManager
interface of the Storage API provides an interface for managing persistence permissions and estimating available storage. Available only in secure contexts.
Functions
Link copied to clipboard
The estimate()
method of the StorageManager interface asks the Storage Manager for how much storage the current origin takes up (usage
), and how much space is available (quota
).
Link copied to clipboard
Link copied to clipboard
The getDirectory()
method of the StorageManager interface is used to obtain a reference to a FileSystemDirectoryHandle object allowing access to a directory and its contents, stored in the origin private file system (OPFS).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard