12#ifndef ZYPP_SOURCE_APPLYDELTARPM_H
13#define ZYPP_SOURCE_APPLYDELTARPM_H
18#include <zypp/base/Function.h>
19#include <zypp/Pathname.h>
27 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 ); }
bool haveApplydeltarpm()
Test whether an execuatble applydeltarpm program is available.
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 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
Easy-to use interface to the ZYPP dependency resolver.