libzypp
17.32.4
|
#include <zypp/ng/repo/refresh.h>
Public Types | |
using | ContextRefType = ZyppContextRefType |
using | ContextType = typename ZyppContextRefType::element_type |
using | ProvideType = typename ContextType::ProvideType |
using | MediaHandle = typename ProvideType::MediaHandle |
using | PluginRepoverification = zypp_private::repo::PluginRepoverification |
Static Public Member Functions | |
static expected< repo::RefreshContextRef< ZyppContextRefType > > | create (ZyppContextRefType zyppContext, zypp::RepoInfo info, zypp::RepoManagerOptions opts) |
Private Member Functions | |
ZYPP_ADD_PRIVATE_CONSTR_HELPER () | |
Private Attributes | |
ZyppContextRefType | _zyppContext |
zypp::RepoInfo | _repoInfo |
zypp::Pathname | _rawCachePath |
zypp::filesystem::TmpDir | _tmpDir |
repo::RawMetadataRefreshPolicy | _policy = repo::RefreshIfNeeded |
std::optional< PluginRepoverification > | _pluginRepoverification |
zypp::RepoManagerOptions | _repoManagerOptions |
std::optional< zypp::repo::RepoType > | _probedType |
Signal< void(zypp::repo::RepoType)> | _sigProbedTypeChanged |
Context class for all refresh workflow operations of a repo, operating on a local cache and a remote repository, as defined by the zypp::RepoInfo
using zyppng::repo::RefreshContext< ZyppContextRefType >::ContextRefType = ZyppContextRefType |
using zyppng::repo::RefreshContext< ZyppContextRefType >::ContextType = typename ZyppContextRefType::element_type |
using zyppng::repo::RefreshContext< ZyppContextRefType >::ProvideType = typename ContextType::ProvideType |
using zyppng::repo::RefreshContext< ZyppContextRefType >::MediaHandle = typename ProvideType::MediaHandle |
using zyppng::repo::RefreshContext< ZyppContextRefType >::PluginRepoverification = zypp_private::repo::PluginRepoverification |
|
override |
Definition at line 56 of file refresh.cc.
|
private |
|
static |
Definition at line 28 of file refresh.cc.
zyppng::repo::RefreshContext< ZyppContextRefType >::ZYPP_DECL_PRIVATE_CONSTR_ARGS | ( | RefreshContext< ZyppContextRefType > | , |
ZyppContextRefType && | zyppContext, | ||
zypp::RepoInfo && | info, | ||
zypp::Pathname && | rawCachePath, | ||
zypp::filesystem::TmpDir && | tempDir, | ||
zypp::RepoManagerOptions && | opts | ||
) |
void zyppng::repo::RefreshContext< ZyppContextRefType >::saveToRawCache | ( | ) |
Definition at line 62 of file refresh.cc.
const zypp::Pathname & zyppng::repo::RefreshContext< ZyppContextRefType >::rawCachePath | ( | ) | const |
Definition at line 77 of file refresh.cc.
zypp::Pathname zyppng::repo::RefreshContext< ZyppContextRefType >::targetDir | ( | ) | const |
Definition at line 83 of file refresh.cc.
const ZyppContextRefType & zyppng::repo::RefreshContext< ZyppContextRefType >::zyppContext | ( | ) | const |
Definition at line 89 of file refresh.cc.
const zypp::RepoInfo & zyppng::repo::RefreshContext< ZyppContextRefType >::repoInfo | ( | ) | const |
Definition at line 95 of file refresh.cc.
zypp::RepoInfo & zyppng::repo::RefreshContext< ZyppContextRefType >::repoInfo | ( | ) |
Definition at line 101 of file refresh.cc.
const zypp::RepoManagerOptions & zyppng::repo::RefreshContext< ZyppContextRefType >::repoManagerOptions | ( | ) | const |
Definition at line 107 of file refresh.cc.
repo::RawMetadataRefreshPolicy zyppng::repo::RefreshContext< ZyppContextRefType >::policy | ( | ) | const |
Definition at line 113 of file refresh.cc.
void zyppng::repo::RefreshContext< ZyppContextRefType >::setPolicy | ( | repo::RawMetadataRefreshPolicy | newPolicy | ) |
Definition at line 119 of file refresh.cc.
const std::optional< typename RefreshContext< ZyppContextRefType >::PluginRepoverification > & zyppng::repo::RefreshContext< ZyppContextRefType >::pluginRepoverification | ( | ) | const |
Definition at line 125 of file refresh.cc.
|
inline |
|
inline |
void zyppng::repo::RefreshContext< ZyppContextRefType >::setProbedType | ( | zypp::repo::RepoType | rType | ) |
Definition at line 131 of file refresh.cc.
const std::optional< zypp::repo::RepoType > & zyppng::repo::RefreshContext< ZyppContextRefType >::probedType | ( | ) | const |
Definition at line 141 of file refresh.cc.
SignalProxy< void(zypp::repo::RepoType)> zyppng::repo::RefreshContext< ZyppContextRefType >::sigProbedTypeChanged | ( | ) |
Definition at line 147 of file refresh.cc.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |