9 #ifndef ZYPP_NG_REPO_REFRESH_INCLUDED 10 #define ZYPP_NG_REPO_REFRESH_INCLUDED 12 #include <zypp-core/zyppng/pipelines/AsyncResult> 13 #include <zypp-core/zyppng/pipelines/Expected> 14 #include <zypp-core/zyppng/base/Signals> 52 template<
typename ZyppContextRefType>
57 using ContextType =
typename ZyppContextRefType::element_type;
88 const std::optional<zypp::repo::RepoType> &
probedType()
const;
refresh is delayed due to settings
ZYPP_ADD_PRIVATE_CONSTR_HELPER()
Repository metadata verification beyond GPG.
zypp::Pathname targetDir() const
RefreshCheckStatus
Possibly return state of checkIfRefreshMEtadata function.
ZYPP_FWD_DECL_TEMPL_TYPE_WITH_REFS_ARG1(RefreshContext, ZyppContextRefType)
void setPluginRepoverification(std::optional< PluginRepoverification > pluginRepoverification_r)
void setPolicy(repo::RawMetadataRefreshPolicy newPolicy)
SignalProxy< void(zypp::repo::RepoType)> sigProbedTypeChanged()
const ZyppContextRefType & zyppContext() const
ZyppContextRefType ContextRefType
What is known about a repository.
typename ProvideType::MediaHandle MediaHandle
static expected< repo::RefreshContextRef< ZyppContextRefType > > create(ZyppContextRefType zyppContext, zypp::RepoInfo info, zypp::RepoManagerOptions opts)
std::optional< zypp::repo::RepoType > _probedType
const zypp::RepoInfo & repoInfo() const
typename ZyppContextRefType::element_type ContextType
const zypp::RepoManagerOptions & repoManagerOptions() const
const zypp::Pathname & rawCachePath() const
zypp::filesystem::TmpDir _tmpDir
std::optional< PluginRepoverification > _pluginRepoverification
ZYPP_FWD_DECL_TYPE_WITH_REFS(Context)
zypp::Pathname _rawCachePath
ZYPP_DECL_PRIVATE_CONSTR_ARGS(RefreshContext, ZyppContextRefType &&zyppContext, zypp::RepoInfo &&info, zypp::Pathname &&rawCachePath, zypp::filesystem::TmpDir &&tempDir, zypp::RepoManagerOptions &&opts)
Provide a new empty temporary directory and recursively delete it when no longer needed.
repo::RawMetadataRefreshPolicy policy() const
ZYPP_FWD_DECL_REFS(SyncDownloadContext)
typename ContextType::ProvideType ProvideType
Signal< void(zypp::repo::RepoType)> _sigProbedTypeChanged
~RefreshContext() override
const std::optional< zypp::repo::RepoType > & probedType() const
void setProbedType(zypp::repo::RepoType rType)
void setNoPluginRepoverification()
repo::RawMetadataRefreshPolicy _policy
zypp::RepoManagerOptions _repoManagerOptions
ZyppContextRefType _zyppContext
Repository type enumeration.
const std::optional< PluginRepoverification > & pluginRepoverification() const