FileSystemEntry.filesystem
The read-only filesystem
property of the FileSystemEntry
interface contains a FileSystem
object that represents the file system on which the entry resides.
Syntax
var filesystem = FileSystemEntry.filesystem;
Value
A FileSystem
representing the file system on which the file or directory described by the FileSystemEntry
is located..
Example
This example obtains a FileSystemDirectoryEntry
for the root directory of the file system containing a file.
let rootDirEntry = fileEntry.filesystem.root;
Specifications
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
filesystem |
8 |
79 |
50 |
No |
No |
11.1 |
≤37 |
18 |
50 |
No |
11.3 |
1.0 |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem