delete method
- String path,
- {bool recursive = false,
- EntityType type = EntityType.file}
override
Deletes this Entity
Implementation
@override
void delete(
String path, {
bool recursive = false,
EntityType type = EntityType.file,
}) {
var (fs, rPath) = getFileSystemAndRelativePathByPath(path);
if (fs != null && rPath != null) {
return fs.delete(rPath, recursive: recursive);
}
throw "[Disk]: FileSystems don't mount.";
}