FileSystemEntry: filesystem property

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.

js
let rootDirEntry = fileEntry.filesystem.root;

Specifications

Specification
File and Directory Entries API
# dom-filesystementry-filesystem

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
filesystem

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

See also