listAll method

Future<List<File>> listAll(
  1. String rootPath, {
  2. bool includeHidden = false,
  3. List<RegExp>? excluded,
  4. List<RegExp>? allowed,
})

List all the files in this root directory.

Implementation

Future<List<File>> listAll(
  String rootPath, {
  bool includeHidden = false,
  List<RegExp>? excluded,
  List<RegExp>? allowed,
}) async =>
    await listAllImpl(
      rootPath,
      includeHidden: includeHidden,
      excluded: excluded,
      allowed: allowed,
    );