Retrieve a list of pathnames that match a given wildcard path. More...
#include <fs.h>
Public Types | |
typedef std::vector< std::string > | type |
Public Member Functions | |
directory () | |
C'tor. | |
directory (const directory &a_class) | |
C'tor. | |
directory (const std::string &a_str) | |
C'tor. | |
~directory () | |
D'tor. | |
const type & | path (const std::string &a_path) |
Retrieve a list of paths that match the wildcard path given. |
Retrieve a list of pathnames that match a given wildcard path.
Pathnames to the files are included. Depending on the wildcard path given, files listed may be in multiple directories.
Definition at line 300 of file fs.h.
typedef std::vector<std::string> directory::type |
directory::directory | ( | const std::string & | a_str | ) |
const directory::type & directory::path | ( | const std::string & | a_path | ) |
Retrieve a list of paths that match the wildcard path given.
Definition at line 1478 of file fs.cc.
References exists(), subdirectory::path(), filestatus::path(), reform_path(), and TRY_nomem.
Referenced by directory(), configuration_manager::init(), job_parser::parse_exclude_from(), job_parser::parse_include(), global_parser::parse_include(), job_parser::parse_include_from(), global_parser::parse_include_job(), global_parser::parse_vault(), and test_directory().