13#include <zypp/base/Logger.h>
18#include <zypp/ManagedFile.h>
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(); }
75 {
_pimpl->finishTarget(); }
94 {
return _pimpl->homePath(); }
97 {
return _pimpl->tmpPath(); }
100 {
_pimpl->setHomePath(path); }
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
shared_ptr< Impl > _pimpl
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.
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.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)