findAdvanced method

Future<List<String>> findAdvanced(
  1. String rootPath,
  2. RegExp pattern, {
  3. bool isExactMatch = false,
  4. bool ignoreHidden = true,
})

Search for a directory with a RegExp pattern.

Implementation

Future<List<String>> findAdvanced(String rootPath, RegExp pattern,
        {bool isExactMatch = false, bool ignoreHidden = true}) async =>
    await findDirectoriesByPattern(rootPath.replaceSeparator(), pattern,
        ignoreHidden: ignoreHidden);