FileSystem class
The File and Directory Entries API interface is used to
represent a file system. These objects can be obtained from the
filesystem
property on any file system entry. Some browsers
offer additional APIs to create and manage file systems, such as
Chrome's requestFileSystem()
method.
This interface will not grant you access to the users
filesystem. Instead you will have a "virtual drive" within the
browser sandbox. If you want to gain access to the users
filesystem you need to invoke the user by eg. installing a Chrome
extension. The relevant Chrome API can be found here.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- FileSystem()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Available on FileSystem, provided by the PropsFileSystem extension
no setter - root → FileSystemDirectoryEntry
-
Available on FileSystem, provided by the PropsFileSystem extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited