12 #ifndef ZYPP_TARGET_COMMITPACKAGECACHE_H
13 #define ZYPP_TARGET_COMMITPACKAGECACHE_H
63 typedef function<ManagedFile( const PoolItem & pi, bool fromCache_r )>
PackageProvider;
79 void setCommitList( std::vector<sat::Solvable> commitList_r );
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
Helper filtering the files offered by a RepomdFileReader.
Target::commit helper optimizing package provision.
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)
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Combining sat::Solvable and ResStatus.
friend std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
Default PackageProvider for CommitPackageCache.
#define ZYPP_DEPRECATED
The ZYPP_DEPRECATED macro can be used to trigger compile-time warnings with gcc >= 3...
CommitPackageCache(const PackageProvider &packageProvider_r=RepoProvidePackage())
Ctor.
void setCommitList(std::vector< sat::Solvable > commitList_r)
Download(commit) sequence of solvables to compute read ahead.
bool preloaded() const
Whether preloaded hint is set.