findLibPaths property

Future<List<String>> get findLibPaths

Implementation

Future<List<String>> get findLibPaths async {
  final List<String> libPaths = [];

  await Future.wait(
    this.libPaths.map((String path) async {
      final Glob glob = Glob(path);
      await for (final FileSystemEntity entity in glob.list()) {
        final String path = context.prettyUri(entity.path);
        if (!isExcludePath(path)) libPaths.add(path);
      }
    })
  );

  return libPaths;
}