29 namespace applydeltarpm
43 bool applydeltarpm(
const char *
const argv_r[],
52 report_r( str::strtonum<unsigned>( what[1] ) );
55 DBG <<
"Applydeltarpm : " <<
line;
57 return(
prog.close() == 0 );
81 MIL <<
"Found executable " <<
prog << endl;
83 WAR <<
"No executable " <<
prog << endl;
85 return (
bool )
_last;
98 const char *
const argv[] = {
99 "/usr/bin/applydeltarpm",
105 return( applydeltarpm(
argv ) );
118 const char *
const argv[] = {
119 "/usr/bin/applydeltarpm",
125 return( applydeltarpm(
argv ) );
142 const char *
const argv[] = {
143 "/usr/bin/applydeltarpm",
146 new_r.asString().c_str(),
173 const char *
const argv[] = {
174 "/usr/bin/applydeltarpm",
176 "-r",
old_r.asString().c_str(),
178 new_r.asString().c_str(),
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
void resetDispose()
Set no dispose function.
Execute a program and give access to its io An object of this class encapsulates the execution of an ...
Wrapper class for stat/lstat.
Regular expression match result.
bool haveApplydeltarpm()
Test whether an execuatble applydeltarpm program is available.
function< void(unsigned int)> Progress
progress reporting
bool provide(const Pathname &delta_r, const Pathname &new_r, const Progress &report_r)
Apply a binary delta to on-disk data to re-create a new rpm.
bool check(const std::string &sequenceinfo_r, bool quick_r)
Check via sequence info.
int unlink(const Pathname &path)
Like 'unlink'.
int assert_dir(const Pathname &path, unsigned mode)
Like 'mkdir -p'.
bool regex_match(const std::string &s, smatch &matches, const regex ®ex)
\relates regex \ingroup ZYPP_STR_REGEX \relates regex \ingroup ZYPP_STR_REGEX
Easy-to use interface to the ZYPP dependency resolver.
boost::logic::tribool TriBool
3-state boolean logic (true, false and indeterminate).