12#ifndef ZYPP_ZYPP_DETAIL_ZYPPIMPL_H
13#define ZYPP_ZYPP_DETAIL_ZYPPIMPL_H
17#include <zypp/TmpPath.h>
19#include <zypp/Resolver.h>
24#include <zypp/ManagedFile.h>
std::set< MountPoint > MountPointSet
ResPool::instance().proxy();.
static ResPool instance()
Singleton ctor.
ResPoolProxy proxy() const
preliminary
Options and policies for ZYpp::commit.
Result returned from ZYpp::commit.
DiskUsageCounter::MountPointSet getPartitions() const
Target_Ptr getTarget() const
Same as target but returns NULL if target is not initialized, instead of throwing.
friend std::ostream & operator<<(std::ostream &str, const ZYppImpl &obj)
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
Target_Ptr target() const
void setHomePath(const Pathname &path)
set the home, if you need to change it
ResPoolProxy poolProxy() const
Resolver_Ptr resolver() const
Pathname tmpPath() const
Get the path where zypp related plugins store tmp data
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
void changeTargetTo(Target_Ptr newtarget_r)
Hook for actions to trigger if the Target changes (initialize/finish)
void installSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
shared_ptr< DiskUsageCounter > _disk_usage
defined mount points, used for disk usage counting
KeyRing_Ptr keyRing() const
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
Pathname homePath() const
Get the path where zypp related plugins store persistent data and caches
DiskUsageCounter::MountPointSet diskUsage()
void initializeTarget(const Pathname &root, bool doRebuild_r)
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const ZYppImpl &obj)
Easy-to use interface to the ZYPP dependency resolver.