io library
Native-based file system.
Just re-export the supported classes from the dart:io
library.
Supported classes
- File
- FileSystemEntity
- FileSystemEntityType
- FileStat
- FileMode,
- FileSystemEvent
- FileSystemException
- Directory
Unsupported methods
- FileSystemEntity.resolveSymbolicLinks
- FileSystemEntity.resolveSymbolicLinksSync,
- Directory.createTemp
- Directory.createTempSync
The support for these methods is planned for the future.
The Directory.createTemp will use window.sessionStorage
to store the temporary files.
Classes
- Directory
- A reference to a directory (or folder) on the file system.
- File
- A reference to a file on the file system.
- FileMode
- The modes in which a File can be opened.
- FileStat
-
The result of calling the POSIX
stat()
function on a file system object. - FileSystemCreateEvent
- File system event for newly created file system objects.
- FileSystemDeleteEvent
- File system event for deletion of file system objects.
- FileSystemEntity
- The common superclass of File, Directory, and Link.
- FileSystemEntityType
- The type of an entity on the file system, such as a file, directory, or link.
- FileSystemEvent
- Base event class emitted by FileSystemEntity.watch.
- FileSystemMoveEvent
- File system event for moving of file system objects.
Exceptions / Errors
- FileSystemException
- Exception thrown when a file operation fails.