Namespaces | |
namespace | rpm |
namespace | hal |
Classes | |
class | CommitPackageCache |
Target::commit helper optimizing package provision. More... | |
struct | IMediaKey |
Helper storing a source id and media number. More... | |
class | CommitPackageCacheReadAhead |
class | HardLocksFile |
Save and restore hardlocks. More... | |
struct | modalias_list |
class | Modalias |
Hardware abstaction layer singleton. More... | |
class | RequestedLocalesFile |
Save and restore locale set from file. More... | |
class | SoftLocksFile |
Save and restore soft locks. More... | |
class | RpmInstallPackageReceiver |
class | RpmRemovePackageReceiver |
class | TargetException |
Just inherits Exception to separate target exceptions. More... | |
class | TargetAbortedException |
struct | QueryInstalledEditionHelper |
Helper for PackageProvider queries during commit. More... | |
struct | RepoProvidePackage |
Let the Source provide the package. More... | |
class | TargetImpl |
Base class for concrete Target implementations. More... | |
struct | PatchMessageReport |
Request to display the pre commit message of a patch. More... | |
struct | PatchScriptReport |
Indicate execution of a patch script. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &str, const CommitPackageCache &obj) |
std::ostream & | operator<< (std::ostream &str, const IMediaKey &obj) |
std::ostream & | operator<< (std::ostream &str, const HardLocksFile &obj) |
std::ostream & | operator<< (std::ostream &str, const Modalias &obj) |
std::ostream & | operator<< (std::ostream &str, const RequestedLocalesFile &obj) |
std::ostream & | operator<< (std::ostream &str, const SoftLocksFile &obj) |
void | writeUpgradeTestcase () |
void | XRunUpdateMessages (const Pathname &root_r, const Pathname &messagesPath_r, const std::vector< sat::Solvable > &checkPackages_r, ZYppCommitResult &result_r) |
IMPL_PTR_TYPE (TargetImpl) | |
static string | generateRandomId () |
generates a random id using uuidgen | |
void | updateFileContent (const Pathname &filename, boost::function< bool()> condition, boost::function< string()> value) |
updates the content of filename if condition is true, setting the content the the value returned by value | |
static bool | fileMissing (const Pathname &pathname) |
helper functor | |
DEFINE_PTR_TYPE (TargetImpl) |
std::ostream& zypp::target::operator<< | ( | std::ostream & | str, | |
const CommitPackageCache & | obj | |||
) |
Definition at line 90 of file CommitPackageCache.cc.
References zypp::target::CommitPackageCache::_pimpl.
std::ostream & zypp::target::operator<< | ( | std::ostream & | str, | |
const IMediaKey & | obj | |||
) |
Definition at line 35 of file CommitPackageCacheReadAhead.cc.
References zypp::target::IMediaKey::_mediaNr, zypp::target::IMediaKey::_repo, zypp::repo::RepoInfoBase::alias(), zypp::Repository::id(), and zypp::Repository::info().
std::ostream& zypp::target::operator<< | ( | std::ostream & | str, | |
const HardLocksFile & | obj | |||
) |
Definition at line 72 of file HardLocksFile.cc.
References zypp::target::HardLocksFile::_dataPtr, zypp::target::HardLocksFile::data(), and zypp::target::HardLocksFile::file().
std::ostream& zypp::target::operator<< | ( | std::ostream & | str, | |
const Modalias & | obj | |||
) |
std::ostream& zypp::target::operator<< | ( | std::ostream & | str, | |
const RequestedLocalesFile & | obj | |||
) |
Definition at line 80 of file RequestedLocalesFile.cc.
References zypp::target::RequestedLocalesFile::_localesPtr, zypp::target::RequestedLocalesFile::file(), and zypp::target::RequestedLocalesFile::locales().
std::ostream& zypp::target::operator<< | ( | std::ostream & | str, | |
const SoftLocksFile & | obj | |||
) |
Definition at line 80 of file SoftLocksFile.cc.
References zypp::target::SoftLocksFile::_dataPtr, zypp::target::SoftLocksFile::data(), and zypp::target::SoftLocksFile::file().
void zypp::target::writeUpgradeTestcase | ( | ) |
Definition at line 72 of file TargetImpl.cc.
References for_, zypp::str::form(), zypp::ZConfig::instance(), MIL, zypp::Date::now(), zypp::filesystem::readdir(), zypp::filesystem::recursive_rmdir(), zypp::str::startsWith(), and WAR.
Referenced by zypp::target::TargetImpl::commit().
void zypp::target::XRunUpdateMessages | ( | const Pathname & | root_r, | |
const Pathname & | messagesPath_r, | |||
const std::vector< sat::Solvable > & | checkPackages_r, | |||
ZYppCommitResult & | result_r | |||
) |
Definition at line 463 of file TargetImpl.cc.
zypp::target::IMPL_PTR_TYPE | ( | TargetImpl | ) |
static string zypp::target::generateRandomId | ( | ) | [static] |
generates a random id using uuidgen
Definition at line 559 of file TargetImpl.cc.
References zypp::ExternalProgram::close(), MIL, zypp::ExternalProgram::Normal_Stderr, and zypp::externalprogram::ExternalDataSource::receiveLine().
Referenced by zypp::target::TargetImpl::createAnonymousId().
void zypp::target::updateFileContent | ( | const Pathname & | filename, | |
boost::function< bool()> | condition, | |||
boost::function< string()> | value | |||
) |
updates the content of filename
if condition
is true, setting the content the the value returned by value
Definition at line 589 of file TargetImpl.cc.
References zypp::filesystem::assert_dir(), MIL, and ZYPP_THROW.
Referenced by zypp::target::TargetImpl::createAnonymousId(), and zypp::target::TargetImpl::createLastDistributionFlavorCache().
static bool zypp::target::fileMissing | ( | const Pathname & | pathname | ) | [static] |
helper functor
Definition at line 624 of file TargetImpl.cc.
Referenced by zypp::target::TargetImpl::createAnonymousId().
zypp::target::DEFINE_PTR_TYPE | ( | TargetImpl | ) |