Go to the documentation of this file.
12 #ifndef ZYPP_TARGET_COMMITPACKAGECACHE_H
13 #define ZYPP_TARGET_COMMITPACKAGECACHE_H
81 template <class TIterator>
83 {
setCommitList( std::vector<sat::Solvable>( begin_r, end_r ) ); }
119 #endif // ZYPP_TARGET_COMMITPACKAGECACHE_H
Combining sat::Solvable and ResStatus.
A Solvable object within the sat Pool.
ManagedFile get(const PoolItem &citem_r)
Provide a package.
AutoDispose< const Pathname > ManagedFile
A Pathname plus associated cleanup code to be executed when path is no longer needed.
friend std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
bool preloaded() const
Whether preloaded hint is set.
CommitPackageCache(const PackageProvider &packageProvider_r=RepoProvidePackage())
Ctor.
ManagedFile get(sat::Solvable citem_r)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Default PackageProvider for CommitPackageCache.
std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
Target::commit helper optimizing package provision.
void setCommitList(std::vector< sat::Solvable > commitList_r)
Download(commit) sequence of solvables to compute read ahead.
Easy-to use interface to the ZYPP dependency resolver.
RW_pointer< Impl > _pimpl
Pointer to implementation.
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
function< ManagedFile(const PoolItem &pi, bool fromCache_r)> PackageProvider
String related utilities and Regular expression matching.
ManagedFile operator()(const PoolItem &pi, bool fromCache_r)
Provide package optionally fron cache only.