11 #include <solv/knownid.h>
22 using namespace zypp::packagedelta;
38 Impl(
const std::list<Repository> & repos,
const std::string & pkgname =
"" )
39 : repos(repos), pkgname(pkgname)
46 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
49 {
return new Impl( *
this ); }
56 return str <<
"DeltaCandidates::Impl";
65 DeltaCandidates::DeltaCandidates()
71 const std::string & pkgname)
72 : _pimpl( new
Impl(repos, pkgname) )
80 std::list<DeltaRpm> candidates;
82 DBG <<
"package: " <<
package << endl;
88 if (
_pimpl->pkgname.empty()
94 || ( package->name() == delta.
name()
95 && package->edition() == delta.
edition()
96 && package->arch() == delta.
arch() ) )
98 DBG <<
"got delta candidate: " << delta << endl;
99 candidates.push_back( delta );
109 return str << *obj.
_pimpl;