list method
- String dirPath
override
Implementation
@override
Stream<Entity> list(String dirPath) async* {
if (open(dirPath) case VDir dir) {
for (final child in dir.children.values) {
yield switch (child) {
VDir(name: String name) => Dir("$dirPath\\$name"),
VFile(name: String name) => File("dirPath\\$name"),
VEntity() => throw UnimplementedError(),
};
}
}
}