computeRootsFromFiles method

void computeRootsFromFiles(
  1. Iterable<String> filePaths
)

Computes roots from a set of files.

The file paths does not neccessarily be normalized.

Implementation

void computeRootsFromFiles(Iterable<String> filePaths) {
  final roots = filePaths
      // .map((folderPath) =>
      // path.dirname(HTResourceContext.getAbsolutePath(key: folderPath)))
      .toSet();
  setRoots(roots);
}