libzypp: zypp/repo/Applydeltarpm.h File Reference

libzypp 17.38.11

Applydeltarpm.h File Reference
`#include <iosfwd>`
`#include <string>`
`#include <zypp-core/base/Function.h>`
`#include <zypp-core/Pathname.h>`

Go to the source code of this file.

## Namespaces
namespace | zypp
| Easy-to use interface to the ZYPP dependency resolver.
namespace | zypp::applydeltarpm
| Namespace wrapping invocations of /usr/bin/applydeltarpm.

## Functions
bool | zypp::applydeltarpm::haveApplydeltarpm ()
| Test whether an execuatble applydeltarpm program is available.
Check if reconstruction of rpm is possible.
See also man applydeltarpm
bool | zypp::applydeltarpm::check (const std::string &sequenceinfo_r, bool quick_r=false)
| Check via sequence info.
bool | zypp::applydeltarpm::check (const Pathname &delta_r, bool quick_r=false)
| Check via deltarpm.
bool | zypp::applydeltarpm::quickcheck (const std::string &sequenceinfo_r)
| Quick via check sequence info.
bool | zypp::applydeltarpm::quickcheck (const Pathname &delta_r)
| Quick check via deltarpm.

## Re-create a new rpm from binary delta.
See also man applydeltarpm
using | zypp::applydeltarpm::Progress = function<void (unsigned int)>
| progress reporting
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.
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.