libzypp 17.31.23
|
Functor replacing repository variables. More...
#include <repo/RepoVariables.h>
Public Member Functions | |
std::string | operator() (const std::string &value_r) const |
std::string | operator() (std::string &&value_r) const |
Functor replacing repository variables.
Replaces the built-in '$arch', '$basearch' and '$releasever' ans also custom repo variables (
Additionally $releasever_major and $releasever_minor can be used to refer to $releasever major number (everything up to the 1st '
.' ) and minor number (everything after the 1st '
.' ).
ZYPP_REPO_RELEASEVER
. This might be handy for distribution upogrades like this: Definition at line 105 of file RepoVariables.h.
std::string zypp::repo::RepoVariablesStringReplacer::operator() | ( | const std::string & | value_r | ) | const |
Definition at line 545 of file RepoVariables.cc.
std::string zypp::repo::RepoVariablesStringReplacer::operator() | ( | std::string && | value_r | ) | const |
Definition at line 549 of file RepoVariables.cc.