find method

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

Search for a file bu it's name.

Implementation

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