#include <file_searcher.hpp>
|
| FileSearcher (std::string expr, std::map< std::string, std::string > args={}) |
|
std::vector< std::filesystem::path > | search (const std::filesystem::path &base) |
| Equivalent to search_recursive(base, 1)
|
|
std::vector< std::filesystem::path > | search_recursive (const std::filesystem::path &base, int max_depth) |
|
|
std::string | set_arg (const std::string &key, std::string_view value) |
|
std::string | get_expr () const |
|
◆ FileSearcher()
asmgrader::FileSearcher::FileSearcher |
( |
std::string | expr, |
|
|
std::map< std::string, std::string > | args = {} ) |
|
explicit |
◆ get_expr()
std::string asmgrader::FileSearcher::get_expr |
( |
| ) |
const |
|
protected |
◆ search()
std::vector< std::filesystem::path > asmgrader::FileSearcher::search |
( |
const std::filesystem::path & | base | ) |
|
Equivalent to search_recursive(base, 1)
◆ search_recursive()
std::vector< std::filesystem::path > asmgrader::FileSearcher::search_recursive |
( |
const std::filesystem::path & | base, |
|
|
int | max_depth ) |
◆ set_arg()
std::string asmgrader::FileSearcher::set_arg |
( |
const std::string & | key, |
|
|
std::string_view | value ) |
|
protected |
The documentation for this class was generated from the following files: