14#include <zypp/base/Logger.h>
15#include <zypp/base/Exception.h>
16#include <zypp/PathInfo.h>
69 return ( scheme ==
"dvd" || scheme ==
"cd" );
98 unsigned addToCache = 0;
99 bool sawCitem =
false;
119 if ( fromSource->
empty() )
121 ERR <<
"Copy to cache failed on " << fromSource << endl;
146 if ( ! ret->
empty() )
160 if ( ! ret->
empty() )
RepoManager implementation.
void resetDispose()
Set no dispose function.
Base class for Exception.
bool isCached() const
Whether the package is cached.
Combining sat::Solvable and ResStatus.
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
ResStatus & status() const
Returns the current status.
bool baseUrlsEmpty() const
whether repository urls are available
urls_const_iterator baseUrlsBegin() const
iterator that points at begin of repository urls
IdType id() const
Expert backdoor.
RepoInfo info() const
Return any associated RepoInfo.
bool isToBeInstalled() const
bool empty() const
Test for an empty path.
std::string alias() const
unique identifier for this source.
IMediaKey _lastInteractive
CommitPackageCacheReadAhead(const PackageProvider &packageProvider_r)
virtual ManagedFile get(const PoolItem &citem_r)
Provide the package.
bool onInteractiveMedia(const PoolItem &pi) const
Return whether pi is located on a CD/DVD.
void doCacheLastInteractive(const PoolItem &citem_r)
cacheLastInteractive helper .
void cacheLastInteractive(const PoolItem &citem_r)
Fill the cache.
DefaultIntegral< unsigned, 0 > _dbgChanges
const std::vector< sat::Solvable > & commitList() const
virtual ManagedFile sourceProvidePackage(const PoolItem &pi) const
Let the Source provide the package.
virtual ManagedFile sourceProvideCachedPackage(const PoolItem &pi) const
Let the Source provide an already cached package.
CommitPackageCache::PackageProvider PackageProvider
Target::commit helper optimizing package provision.
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.
RepoInfo repoInfo() const
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
#define ZYPP_CAUGHT(EXCPT)
Drops a logline telling the Exception was caught (in order to handle it).
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.