13 #include <zypp/base/Logger.h> 18 #include <zypp/ManagedFile.h> Target_Ptr target() const
KeyRing_Ptr keyRing() const
void setHomePath(const Pathname &path)
set the home, if you need to change it
Result returned from ZYpp::commit.
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Provides a source package on the Target.
static void clearShutdownSignal()
Disable the shutdown signal for zypp_poll calls.
void installSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
DiskUsageCounter::MountPointSet diskUsage()
Pathname tmpPath() const
Get the path where zypp related plugins store temp data.
Resolver_Ptr resolver() const
ResPoolProxy poolProxy() const
Pool of ui::Selectable.
DiskUsageCounter::MountPointSet getPartitions() const
ResPool::instance().proxy();.
ResPoolProxy poolProxy() const
void initializeTarget(const Pathname &root, bool doRebuild_r)
Pathname homePath() const
Get the path where zypp related plugins store persistent data and caches.
DiskUsageCounter::MountPointSet getPartitions() const
Target_Ptr target() const
std::set< MountPoint > MountPointSet
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
void setHomePath(const Pathname &path)
set the home, if you need to change it
Resolver_Ptr resolver() const
Options and policies for ZYpp::commit.
Pathname tmpPath() const
Get the path where zypp related plugins store tmp data.
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
KeyRing_Ptr keyRing() const
void installSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
static void clearShutdownSignal()
To be called from zypper code.
Pathname homePath() const
Get the path where zypp related plugins store persistent data and caches.
ResPool pool() const
Access to the global resolvable pool.
static void setShutdownSignal()
To be called from zyppers signal handlers.
void initializeTarget(const Pathname &root, bool doRebuild_r=false)
static void setShutdownSignal()
Enable the shutdown signal for zypp_poll calls.
RW_pointer< Impl > _pimpl
Pointer to implementation.
Target_Ptr getTarget() const
Same as target but returns NULL if target is not initialized, instead of throwing.
Target_Ptr getTarget() const
Same as target but returns NULL if target is not initialized, instead of throwing.
Easy-to use interface to the ZYPP dependency resolver.
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
DiskUsageCounter::MountPointSet diskUsage()
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.