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>
81 template <class TIterator>
83 {
setCommitList( std::vector<sat::Solvable>( begin_r, end_r ) ); }
RepoManager implementation.
Combining sat::Solvable and ResStatus.
A Solvable object within the sat Pool.
Target::commit helper optimizing package provision.
friend std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
ManagedFile get(sat::Solvable citem_r)
This is an overloaded member function, provided for convenience. It differs from the above function o...
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.
RW_pointer< Impl > _pimpl
Pointer to implementation.
ManagedFile get(const PoolItem &citem_r)
Provide a package.
function< ManagedFile(const PoolItem &pi, bool fromCache_r)> PackageProvider
Default PackageProvider for CommitPackageCache.
ManagedFile operator()(const PoolItem &pi, bool fromCache_r)
Provide package optionally fron cache only.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
Easy-to use interface to the ZYPP dependency resolver.
AutoDispose< const Pathname > ManagedFile
A Pathname plus associated cleanup code to be executed when path is no longer needed.
Wrapper for const correct access via Smart pointer types.
#define ZYPP_DEPRECATED
The ZYPP_DEPRECATED macro can be used to trigger compile-time warnings with gcc >= 3....