resolve method
Resolve all FileSystemEntitys inside this collection.
Included files are only returned if they exist at the time of resolving.
Implementation
Stream<ResolvedEntity> resolve() async* {
for (final file in files) {
final f = File(file);
if (await f.exists()) yield _ResolvedFileEntry(f);
}
await for (final resolved in _resolveDirectoryEntries()) {
yield resolved;
for (final file in resolved.children.whereType<File>()) {
yield _ResolvedFileEntry(file);
}
}
}