FileSystemMixin mixin

FileSystem mixin

Implemented types
Available extensions

Properties

currentDirectory Directory
Creates a directory object pointing to the current working directory.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
name String
fs_shim specific. Name of the file system.
no setteroverride
path → Context
Get the path context for patch operation
no setteroverride
pathContext → Context
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Returns true if file links are supported.
no setteroverride
Returns true if links are supported.
no setteroverride
supportsRandomAccess bool
Default implementation
no setteroverride

Methods

directory(String path) Directory
Creates a Directory object. If path is a relative path, it will be interpreted relative to the current working directory (see Directory.current), when used.
override
file(String path) File
Creates a File object.
override
isDirectory(String? path) Future<bool>
Checks if type(path) returns FileSystemEntityType.DIRECTORY.
override
isFile(String? path) Future<bool>
Checks if type(path) returns FileSystemEntityType.FILE.
override
Checks if type(path) returns FileSystemEntityType.Link.
override
Creates a Link object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
type(String? path, {bool followLinks = true}) Future<FileSystemEntityType>
Finds the type of file system object that a path points to. Returns a `Future<FileSystemEntityType>` that completes with the result.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited