Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titlestorageinfo filesysteminfo IDL
collapsetrue
[
    GarbageCollected,
    constructor(DOMString path)
] interface FileSystemInfo {
    Promise <bool> isReadOnly();
    Promise <DOMString> getFilesystemType();
    Promise <StorageStats> getStatistics();
}

interface StorageStats {
    attribute number blockSize;
    attribute number bytesFree;
	attribute number sizeBytes;
    attribute number filesFree;
	attribute number filesUsed;
    attribute bool isReadOnly;
}

...