find method

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

Search for a directory by it's name.

Implementation

Future<List<String>> find(String rootPath, String name,
        {bool isExactMatch = false, bool ignoreHidden = true}) async =>
    await findDirectoriesByName(rootPath.replaceSeparator(), name,
        exactMatch: isExactMatch, ignoreHidden: ignoreHidden);