15 explicit FileSearcher(std::string expr, std::map<std::string, std::string> args = {});
18 std::vector<std::filesystem::path>
search(
const std::filesystem::path& base);
20 std::vector<std::filesystem::path>
search_recursive(
const std::filesystem::path& base,
int max_depth);
23 std::string
set_arg(
const std::string& key, std::string_view value);
28 std::string subst_args()
const;
29 static bool does_match(
const std::regex& expr, std::string_view filename);
32 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)
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, 1)
Definition file_searcher.cpp:31
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:88
Definition asm_buffer.hpp:19