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 ) ); }
95 bool preloaded()
const;
97 void preloaded(
bool newval_r );
std::ostream & operator<<(std::ostream &str, const zypp::sat::detail::CDataiterator *obj)
Combining sat::Solvable and ResStatus.
A Solvable object within the sat Pool.
Target::commit helper optimizing package provision.
CommitPackageCache(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...
void setCommitList(std::vector< sat::Solvable > commitList_r)
Download(commit) sequence of solvables to compute read ahead.
function< ManagedFile(const PoolItem &, bool)> PackageProvider
RW_pointer< Impl > _pimpl
Pointer to implementation.
ManagedFile get(const PoolItem &citem_r)
Provide a package.
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.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
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....