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