Synchronous interface for low-level file system operations.
This is the synchronous counterpart of IWorkFileSystem. Only available on platforms that support synchronous I/O (IO, memory). Web platforms cannot implement this interface.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteFileSync(
String path) → void - Deletes a file at the specified path synchronously.
-
deleteFolderSync(
String folderPath) → void - Deletes a folder and all its contents recursively, synchronously.
-
existSync(
String path) → bool - Checks if a file or folder exists at the specified path synchronously.
-
getFileSync(
String path) → ItemOutput - Reads an item from the specified path synchronously.
-
getPath(
) → String - Returns the base path for this file system.
-
lsSync(
String path) → List< String> - Lists all files/items in a directory synchronously.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renameFileSync(
String oldPath, String newPath) → void - Renames/moves a file from one path to another synchronously.
-
toString(
) → String -
A string representation of this object.
inherited
-
writeFileSync(
String path, Item input) → void - Writes an item to the specified path synchronously.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited