Disk class

Implemented types

Constructors

Disk({LogStack? logStack})

Properties

hashCode int
The hash code for this object.
no setterinherited
logStack LogStack
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targets List<String>
no setter

Methods

connect() → void
Method for connecting the file system.
override
copy(String filePath, String dirPath) File
create(String path, {bool recursive = false, EntityType type = EntityType.file}) → void
override
delete(String path, {bool recursive = false, EntityType type = EntityType.file}) → void
Deletes this Entity
override
disconnect() → void
Method for disconnecting the file system.
override
exists(String path, {EntityType type = EntityType.file}) bool
override
getFileSystemAndRelativePathByPath(String path) → (IFileSystem?, String?)
list(String dirPath) Stream<Entity>
override
mount(String target, IFileSystem fs) → void
move(String filePath, String dirPath, {EntityType type = EntityType.file}) Entity
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openRead(String filePath) Stream<List<int>>
override
stat(String path, {EntityType type = EntityType.file}) Stat
Returns Stat for Entity.
override
toString() String
A string representation of this object.
inherited
unmount(String target) → void

Operators

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

Static Properties

io Disk
getter/setter pair