resolveNativePath method

Future<String> resolveNativePath(
  1. EaglePath path
)

Implementation

Future<String> resolveNativePath(EaglePath path) async {
  final candidate = _lexical(path);
  final type = await FileSystemEntity.type(candidate, followLinks: false);
  if (type == FileSystemEntityType.notFound) {
    throw EagleSourceException('Path does not exist: $path');
  }
  return _resolvedContained(candidate, type);
}