exists method
- String path,
- {EntityType type = EntityType.file}
override
Implementation
@override
bool exists(
String path, {
EntityType type = EntityType.file,
}) {
final nPath = join(root.path, path);
return switch (type) {
EntityType.file => io.File(nPath).existsSync(),
EntityType.dir => io.Directory(nPath).existsSync(),
};
}