rpm::RpmDb & TargetImpl::rpm()
{ return _rpm; }
+ bool TargetImpl::providesFile (const std::string & name_str, const std::string & path_str) const
+ { return _rpm.hasFile(path_str); }
+
/////////////////////////////////////////////////////////////////
} // namespace target
///////////////////////////////////////////////////////////////////
#warning Add support for multiple medias - eg. limit only to CD1
void commit(ResPool pool_r);
- /** Comomit ordered changes */
+ /** Commit ordered changes */
void commit(const PoolItemList & items_r);
/** Overload to realize stream output. */
/** The RPM database */
rpm::RpmDb & rpm();
+ /** If the package is installed and provides the file
+ Needed to evaluate split provides during Resolver::Upgrade() */
+ bool providesFile (const std::string & name_str, const std::string & path_str) const;
+
protected:
/** All resolvables provided by the target. */
ResStore _store;