Simplify findFiles
In this repo there is no need for a recursive iterator,
fix style and make it a standard iterator.
Change-Id: I076c71f6b0baa4dc4b478b972bdb2fb6086d3ce6
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/Utils.hpp b/include/Utils.hpp
index 1e54477..cd44082 100644
--- a/include/Utils.hpp
+++ b/include/Utils.hpp
@@ -18,10 +18,9 @@
#include <experimental/filesystem>
#include <nlohmann/json.hpp>
-bool find_files(const std::experimental::filesystem::path &dir_path,
- const std::string &match_string,
- std::vector<std::experimental::filesystem::path> &found_paths,
- unsigned int symlink_depth = 1);
+bool findFiles(const std::experimental::filesystem::path &dirPath,
+ const std::string &matchString,
+ std::vector<std::experimental::filesystem::path> &foundPaths);
bool validateJson(const nlohmann::json &schemaFile,
const nlohmann::json &input);