Disk class
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
-
Static Properties
-
io
↔ Disk
-
getter/setter pair