FileSystemEntry: filesystem property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("File and Directory Entries API")}}

The read-only **filesystem** property of the {{domxref("FileSystemEntry")}} interface contains a {{domxref("FileSystem")}} object that represents the file system on which the entry resides.

Value

A {{domxref("FileSystem")}} representing the file system on which the file or directory described by the FileSystemEntry is located.

Examples

This example obtains a {{domxref("FileSystemDirectoryEntry")}} for the root directory of the file system containing a file.

js
let rootDirEntry = fileEntry.filesystem.root;

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also