escaping static method

Future<List<String>> escaping(
  1. String projectRoot
)

The roots that a symbolic link at the root or an ancestor places outside projectRoot, where a write or prune would change another project's skills. write refuses them and prune skips them. A link that cannot be resolved counts as outside.

Implementation

static Future<List<String>> escaping(String projectRoot) async => [
  for (final (:root, :real) in await _resolvedRoots(projectRoot))
    if (real == null) root,
];