12 #ifndef ZYPP_SOURCE_APPLYDELTARPM_H
13 #define ZYPP_SOURCE_APPLYDELTARPM_H
26 namespace applydeltarpm
40 bool check(
const std::string & sequenceinfo_r,
bool quick_r =
false );
45 bool check(
const Pathname & delta_r,
bool quick_r =
false );
48 inline bool quickcheck(
const std::string & sequenceinfo_r )
49 {
return check( sequenceinfo_r,
true ); }
53 {
return check( delta_r,
true ); }
66 bool provide(
const Pathname & delta_r,
const Pathname & new_r,
72 bool provide(
const Pathname & old_r,
const Pathname & delta_r,
73 const Pathname & new_r,
83 #endif // ZYPP_SOURCE_APPLYDELTARPM_H
bool haveApplydeltarpm()
Test whether an execuatble applydeltarpm program is available.
bool quickcheck(const std::string &sequenceinfo_r)
Quick via check sequence info.
bool check(const std::string &sequenceinfo_r, bool quick_r)
Check via sequence info.
function< void(unsigned)> 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.