12 #ifndef ZYPP_TARGET_COMMITPACKAGECACHE_H 13 #define ZYPP_TARGET_COMMITPACKAGECACHE_H 17 #include <zypp/base/PtrTypes.h> 18 #include <zypp/base/Function.h> 21 #include <zypp/Pathname.h> 22 #include <zypp/ManagedFile.h> 63 typedef function<ManagedFile( const PoolItem & pi, bool fromCache_r )>
PackageProvider;
81 template <class TIterator>
83 {
setCommitList( std::vector<sat::Solvable>( begin_r, end_r ) ); }
119 #endif // ZYPP_TARGET_COMMITPACKAGECACHE_H
A Solvable object within the sat Pool.
function< ManagedFile(const PoolItem &pi, bool fromCache_r)> PackageProvider
Target::commit helper optimizing package provision.
String related utilities and Regular expression matching.
RW_pointer< Impl > _pimpl
Pointer to implementation.
ManagedFile operator()(const PoolItem &pi, bool fromCache_r)
Provide package optionally fron cache only.
std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
bool preloaded() const
Whether preloaded hint is set.
Combining sat::Solvable and ResStatus.
friend std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
Default PackageProvider for CommitPackageCache.
Easy-to use interface to the ZYPP dependency resolver.
CommitPackageCache(const PackageProvider &packageProvider_r=RepoProvidePackage())
Ctor.
void setCommitList(std::vector< sat::Solvable > commitList_r)
Download(commit) sequence of solvables to compute read ahead.
#define ZYPP_DEPRECATED
The ZYPP_DEPRECATED macro can be used to trigger compile-time warnings with gcc >= 3...