seedPaths static method

void seedPaths(
  1. Iterable<String> paths
)

Bulk register a list of paths (will extract features lazily).

Implementation

static void seedPaths(Iterable<String> paths) {
  for (final p in paths) {
    final feature = extractFeatureNameFromPath(p);
    if (feature != null) _index[_normalizePath(p)] = feature;
  }
}