14#include <zypp/base/String.h>
25#define OUTS(VAL) if ( str::compareCI( str_r, #VAL ) == 0 ) { result_r = VAL; return true; }
38#define OUTS(VAL) case VAL: return str << #VAL; break
46 return str <<
"DownloadMode(" << int(obj) <<
")";
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
bool deserialize(const std::string &str_r, DownloadMode &result_r)
DownloadMode
Supported commit download policies.
@ DownloadInHeaps
Similar to DownloadInAdvance, but try to split the transaction into heaps, where at the end of each h...
@ DownloadOnly
Just download all packages to the local cache.
@ DownloadAsNeeded
Alternating download and install.
@ DownloadInAdvance
First download all packages to the local cache.
@ DownloadDefault
libzypp will decide what to do.