42 {
return _pimpl->diskUsage(); }
45 {
return _pimpl->setPartitions(mp); }
48 {
return _pimpl->getPartitions(); }
51 {
return _pimpl->poolProxy(); }
54 {
return _pimpl->resolver(); }
57 {
return _pimpl->keyRing(); }
66 {
return _pimpl->target(); }
69 {
return _pimpl->getTarget(); }
72 {
_pimpl->initializeTarget( root, doRebuild_r ); }
75 {
_pimpl->finishTarget(); }
84 {
return _pimpl->commit( policy_r ); }
87 {
_pimpl->installSrcPackage( srcPackage_r ); }
90 {
return _pimpl->provideSrcPackage( srcPackage_r ); }
94 {
return _pimpl->homePath(); }
97 {
return _pimpl->tmpPath(); }
100 {
_pimpl->setHomePath(path); }
std::set< MountPoint > MountPointSet
ResPool::instance().proxy();.
Options and policies for ZYpp::commit.
Result returned from ZYpp::commit.
Pathname homePath() const
Get the path where zypp related plugins store persistent data and caches.
KeyRing_Ptr keyRing() const
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
Resolver_Ptr resolver() const
RW_pointer< Impl > _pimpl
Pointer to implementation.
DiskUsageCounter::MountPointSet diskUsage()
static void clearShutdownSignal()
To be called from zypper code.
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
Pathname tmpPath() const
Get the path where zypp related plugins store temp data.
DiskUsageCounter::MountPointSet getPartitions() const
void setHomePath(const Pathname &path)
set the home, if you need to change it
ResPool pool() const
Access to the global resolvable pool.
void installSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
ZYpp(const Impl_Ptr &impl_r)
Factory ctor.
Target_Ptr target() const
Target_Ptr getTarget() const
Same as target but returns NULL if target is not initialized, instead of throwing.
ResPoolProxy poolProxy() const
Pool of ui::Selectable.
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Provides a source package on the Target.
void initializeTarget(const Pathname &root, bool doRebuild_r=false)
static void setShutdownSignal()
To be called from zyppers signal handlers.
static void setShutdownSignal()
Enable the shutdown signal for zypp_poll calls.
static void clearShutdownSignal()
Disable the shutdown signal for zypp_poll calls.
String related utilities and Regular expression matching.
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.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)