@ structure to handle repository of results More...
Collaboration diagram for Feel::Repository:Classes | |
| struct | Config |
| struct | Dist |
| struct | Owner |
Public Member Functions | |
| Repository & | cd () |
| change directory to current configuration More... | |
| Config & | config () |
| get the configuration of the repository More... | |
| Config const & | config () const |
| get the configuration of the repository More... | |
| Repository & | configure () |
configure the repository directories based on Config | |
| Repository & | configure (fs::path const &d) |
| configure for a given directory More... | |
| Repository & | configure (fs::path const &d, Location const &l) |
| configure for a given directory More... | |
| Repository & | configure (nl::json const &j) |
| configure for a json configuration More... | |
| fs::path | directory () const |
| the result repository absolute directory More... | |
| fs::path | directoryWithoutAppenders () const |
| the result repository absolute directory without appenders More... | |
| fs::path const & | exprs () const |
| get the expressions directory The expressions directory contains c++ and plugins associated with the expressions More... | |
| fs::path const & | geo () const |
| get the geo directory The geo directory contains geo files of Gmsh More... | |
| fs::path const & | globalRoot () const |
| bool | isAbsolute () const |
| bool | isConfigured () const noexcept |
| check if the repository is configured More... | |
| bool | isCustom () const |
| bool | isGit () const |
| bool | isGlobal () const |
| bool | isLocal () const |
| bool | isRelative () const |
| fs::path const & | logs () const |
| get the logs directory The logs directory contains feelpp apps log files More... | |
| fs::path | relativeDirectory () const |
| the result repository directory relative to root More... | |
| Repository (Config c) | |
| fs::path const & | root () const |
| std::string | userEmail () const |
| the user email More... | |
| std::string | userName () const |
| the user name More... | |
| bool | verifyDirectoriesExist (std::string const &caller_info="") const |
| Verify that all repository directories exist. More... | |
@ structure to handle repository of results
| Repository & Feel::Repository::cd | ( | ) |
change directory to current configuration
| Config const & Feel::Repository::config | ( | ) | const |
get the configuration of the repository
| Repository & Feel::Repository::configure | ( | fs::path const & | d | ) |
configure for a given directory
| d | directory path |
| Repository & Feel::Repository::configure | ( | fs::path const & | d, |
| Location const & | l | ||
| ) |
configure for a given directory
| d | directory path |
| l | type of location |
| Repository & Feel::Repository::configure | ( | nl::json const & | j | ) |
configure for a json configuration
| j | json file to configure the repo |
| fs::path Feel::Repository::directory | ( | ) | const |
the result repository absolute directory
References relativeDirectory(), and root().
| fs::path Feel::Repository::directoryWithoutAppenders | ( | ) | const |
the result repository absolute directory without appenders
References isAbsolute(), and root().
| fs::path const & Feel::Repository::exprs | ( | ) | const |
get the expressions directory The expressions directory contains c++ and plugins associated with the expressions
| fs::path const & Feel::Repository::geo | ( | ) | const |
get the geo directory The geo directory contains geo files of Gmsh
| fs::path const & Feel::Repository::globalRoot | ( | ) | const |
| bool Feel::Repository::isAbsolute | ( | ) | const |
Referenced by directoryWithoutAppenders().
|
noexcept |
check if the repository is configured
| bool Feel::Repository::isCustom | ( | ) | const |
| bool Feel::Repository::isGit | ( | ) | const |
| bool Feel::Repository::isGlobal | ( | ) | const |
| bool Feel::Repository::isLocal | ( | ) | const |
| bool Feel::Repository::isRelative | ( | ) | const |
| fs::path const & Feel::Repository::logs | ( | ) | const |
get the logs directory The logs directory contains feelpp apps log files
| fs::path Feel::Repository::relativeDirectory | ( | ) | const |
| fs::path const & Feel::Repository::root | ( | ) | const |
Referenced by directory(), and directoryWithoutAppenders().
| std::string Feel::Repository::userEmail | ( | ) | const |
| std::string Feel::Repository::userName | ( | ) | const |
| bool Feel::Repository::verifyDirectoriesExist | ( | std::string const & | caller_info = "" | ) | const |
Verify that all repository directories exist.
This function checks that root, geo, logs, results, and exprs directories have been created. It's useful for debugging to find where directory access happens before creation.
| caller_info | Optional string describing where this check is called from |