17 explicit FileSearcher(std::string expr, std::map<std::string, std::string> args = {});
20 std::vector<std::filesystem::path>
search(
const std::filesystem::path& base);
22 std::vector<std::filesystem::path>
search_recursive(
const std::filesystem::path& base,
26 std::string
set_arg(
const std::string& key, std::string_view value);
31 std::string subst_args()
const;
32 static bool does_match(
const std::regex& expr, std::string_view filename);
35 std::map<std::string, std::string> args_;
Definition file_searcher.hpp:13
std::vector< std::filesystem::path > search_recursive(const std::filesystem::path &base, int max_depth=DEFAULT_SEARCH_DEPTH)
Definition file_searcher.cpp:35
std::string set_arg(const std::string &key, std::string_view value)
Definition file_searcher.cpp:22
std::vector< std::filesystem::path > search(const std::filesystem::path &base)
Equivalent to search_recursive(base, 0)
Definition file_searcher.cpp:31
static constexpr auto DEFAULT_SEARCH_DEPTH
Definition file_searcher.hpp:15
FileSearcher(std::string expr, std::map< std::string, std::string > args={})
Definition file_searcher.cpp:18
std::string get_expr() const
Definition file_searcher.cpp:90
Definition asm_buffer.hpp:20