File and Directory Entries API
The read-only filesystem
property of the FileSystemEntry interface contains a
FileSystem object that represents the file system on which the entry
resides.
Value
A FileSystem representing the file system on which the file or directory
described by the FileSystemEntry is located.
Examples
This example obtains a FileSystemDirectoryEntry for the root directory of the file system containing a file.
let rootDirEntry = fileEntry.filesystem.root;
Specifications
Browser compatibility
See also
- File and Directory Entries API
- FileSystemEntry
- FileSystem
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
