listAll method

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

List all the files in this root directory.

Implementation

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