Functions | |
bool | haveApplydeltarpm () |
Test whether an execuatble applydeltarpm program is available. | |
Check if reconstruction of rpm is possible. | |
bool | check (const std::string &sequenceinfo_r, bool quick_r=false) |
Check via sequence info. | |
bool | check (const Pathname &delta_r, bool quick_r=false) |
Check via deltarpm. | |
bool | quickcheck (const std::string &sequenceinfo_r) |
Quick via check sequence info. | |
bool | quickcheck (const Pathname &delta_r) |
Quick check via deltarpm. | |
Re-create a new rpm from binary delta. | |
| |
typedef function< void(unsigned)> | Progress |
progress reporting | |
bool | provide (const Pathname &delta_r, const Pathname &new_r, const Progress &report_r=Progress()) |
Apply a binary delta to on-disk data to re-create a new rpm. | |
bool | provide (const Pathname &old_r, const Pathname &delta_r, const Pathname &new_r, const Progress &report_r=Progress()) |
Apply a binary delta to an old rpm to re-create a new rpm. |
typedef function<void( unsigned )> zypp::applydeltarpm::Progress |
bool zypp::applydeltarpm::haveApplydeltarpm | ( | ) |
Test whether an execuatble applydeltarpm program is available.
Definition at line 69 of file Applydeltarpm.cc.
Referenced by check(), zypp::repo::PackageProvider::doProvidePackage(), and provide().
bool zypp::applydeltarpm::check | ( | const std::string & | sequenceinfo_r, | |
bool | quick_r = false | |||
) |
Check via sequence info.
applydeltarpm [-c|-C] -s sequence
Definition at line 93 of file Applydeltarpm.cc.
References haveApplydeltarpm().
Referenced by zypp::Locale::bestMatch(), quickcheck(), and zypp::repo::PackageProvider::tryDelta().
bool zypp::applydeltarpm::check | ( | const Pathname & | delta_r, | |
bool | quick_r = false | |||
) |
Check via deltarpm.
applydeltarpm [-c|-C] deltarpm
Definition at line 113 of file Applydeltarpm.cc.
References haveApplydeltarpm().
bool zypp::applydeltarpm::provide | ( | const Pathname & | delta_r, | |
const Pathname & | new_r, | |||
const Progress & | report_r = Progress() | |||
) |
Apply a binary delta to on-disk data to re-create a new rpm.
applydeltarpm deltarpm newrpm
Definition at line 133 of file Applydeltarpm.cc.
References haveApplydeltarpm(), zypp::AutoDispose< _Tp >::resetDispose(), and zypp::filesystem::unlink().
Referenced by zypp::repo::PackageProvider::tryDelta().
bool zypp::applydeltarpm::provide | ( | const Pathname & | old_r, | |
const Pathname & | delta_r, | |||
const Pathname & | new_r, | |||
const Progress & | report_r = Progress() | |||
) |
Apply a binary delta to an old rpm to re-create a new rpm.
applydeltarpm -r oldrpm deltarpm newrpm
Definition at line 162 of file Applydeltarpm.cc.
References haveApplydeltarpm(), zypp::AutoDispose< _Tp >::resetDispose(), and zypp::filesystem::unlink().
bool zypp::applydeltarpm::quickcheck | ( | const std::string & | sequenceinfo_r | ) | [inline] |
Quick via check sequence info.
Definition at line 48 of file Applydeltarpm.h.
References check().
Referenced by zypp::repo::PackageProvider::tryDelta().
bool zypp::applydeltarpm::quickcheck | ( | const Pathname & | delta_r | ) | [inline] |