exists method
Implementation
@override
Future<bool> exists(EaglePath path) async {
try {
final candidate = _lexical(path);
final type = await FileSystemEntity.type(candidate, followLinks: false);
if (type == FileSystemEntityType.notFound) return false;
await _resolvedContained(candidate, type);
return true;
} on EagleSourceException {
rethrow;
} catch (error) {
throw EagleSourceException(
'Library path cannot be inspected.',
cause: error,
);
}
}