libzypp
13.10.6
|
Target::commit helper optimizing package provision. More...
#include <CommitPackageCache.h>
Classes | |
class | Impl |
Base for CommitPackageCache implementations (implements no chache). More... | |
Public Types | |
typedef function< ManagedFile(const PoolItem &pi, bool fromCache_r)> | PackageProvider |
Public Member Functions | |
CommitPackageCache (const Pathname &rootDir_r, const PackageProvider &packageProvider_r=RepoProvidePackage()) | |
Ctor. More... | |
~CommitPackageCache () | |
Dtor. More... | |
void | setCommitList (std::vector< sat::Solvable > commitList_r) |
Download(commit) sequence of solvables to compute read ahead. More... | |
template<class _Iterator > | |
void | setCommitList (_Iterator begin_r, _Iterator end_r) |
ManagedFile | get (const PoolItem &citem_r) |
Provide a package. More... | |
ManagedFile | get (sat::Solvable citem_r) |
CommitPackageCache (Impl *pimpl_r) | |
Ctor taking an implementation. More... | |
Private Attributes | |
RW_pointer< Impl > | _pimpl |
Pointer to implementation. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &str, const CommitPackageCache &obj) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const CommitPackageCache &obj) |
Target::commit helper optimizing package provision.
Definition at line 58 of file CommitPackageCache.h.
typedef function<ManagedFile( const PoolItem & pi, bool fromCache_r )> zypp::target::CommitPackageCache::PackageProvider |
Definition at line 63 of file CommitPackageCache.h.
zypp::target::CommitPackageCache::CommitPackageCache | ( | const Pathname & | rootDir_r, |
const PackageProvider & | packageProvider_r = RepoProvidePackage() |
||
) |
Ctor.
Definition at line 111 of file CommitPackageCache.cc.
zypp::target::CommitPackageCache::~CommitPackageCache | ( | ) |
Dtor.
Definition at line 126 of file CommitPackageCache.cc.
|
explicit |
Ctor taking an implementation.
Definition at line 105 of file CommitPackageCache.cc.
void zypp::target::CommitPackageCache::setCommitList | ( | std::vector< sat::Solvable > | commitList_r | ) |
Download(commit) sequence of solvables to compute read ahead.
Definition at line 129 of file CommitPackageCache.cc.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 78 of file CommitPackageCache.h.
ManagedFile zypp::target::CommitPackageCache::get | ( | const PoolItem & | citem_r | ) |
Provide a package.
Definition at line 134 of file CommitPackageCache.cc.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 84 of file CommitPackageCache.h.
|
friend |
Definition at line 142 of file CommitPackageCache.cc.
|
related |
Stream output
Definition at line 142 of file CommitPackageCache.cc.
|
private |
Pointer to implementation.
Definition at line 94 of file CommitPackageCache.h.