libzypp
10.5.0
|
Functor replacing repository variables. More...
#include <RepoVariables.h>
Public Member Functions | |
std::string | operator() (const std::string &value_r) const |
Functor replacing repository variables.
Replaces '$arch', '$basearch' and $releasever in a string with the global ZYpp values.
Example: ftp://user:secret@site.net/$arch/ -> ftp://user:secret@site.net/i686/ http://site.net/?basearch=$basearch -> http://site.net/?basearch=i386
Definition at line 34 of file RepoVariables.h.
std::string zypp::repo::RepoVariablesStringReplacer::operator() | ( | const std::string & | value_r | ) | const |
Definition at line 85 of file RepoVariables.cc.