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