71 return ( scheme ==
"dvd" || scheme ==
"cd" );
100 unsigned addToCache = 0;
101 bool sawCitem =
false;
121 if ( fromSource->empty() )
123 ERR <<
"Copy to cache failed on " << fromSource << endl;
148 if ( ! ret->empty() )
162 if ( ! ret->empty() )
RepoInfo info() const
Return any associated RepoInfo.
std::string alias() const
unique identifier for this source.
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
IdType id() const
Expert backdoor.
Helper filtering the files offered by a RepomdFileReader.
Target::commit helper optimizing package provision.
bool onInteractiveMedia(const PoolItem &pi) const
Return whether pi is located on a CD/DVD.
bool isCached() const
Whether the package is cached.
DefaultIntegral< unsigned, 0 > _dbgChanges
urls_const_iterator baseUrlsBegin() const
iterator that points at begin of repository urls
IMediaKey _lastInteractive
virtual ManagedFile get(const PoolItem &citem_r)
Provide the package.
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
virtual ManagedFile sourceProvidePackage(const PoolItem &pi) const
Let the Source provide the package.
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
CommitPackageCache::PackageProvider PackageProvider
void cacheLastInteractive(const PoolItem &citem_r)
Fill the cache.
std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
ResStatus & status() const
Returns the current status.
const std::vector< sat::Solvable > & commitList() const
void doCacheLastInteractive(const PoolItem &citem_r)
cacheLastInteractive helper .
void resetDispose()
Set no dispose function.
bool baseUrlsEmpty() const
whether repository urls are available
#define ZYPP_CAUGHT(EXCPT)
Drops a logline telling the Exception was caught (in order to handle it).
virtual ManagedFile sourceProvideCachedPackage(const PoolItem &pi) const
Let the Source provide an already cached package.
Base class for Exception.
bool isToBeInstalled() const
CommitPackageCacheReadAhead(const Pathname &, const PackageProvider &packageProvider_r)
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Combining sat::Solvable and ResStatus.
RepoInfo repoInfo() const