9#ifndef ZYPP_NG_REPOMANAGER_WORKFLOW_INCLUDED
10#define ZYPP_NG_REPOMANAGER_WORKFLOW_INCLUDED
13#include <zypp-core/zyppng/pipelines/AsyncResult>
14#include <zypp-core/zyppng/pipelines/Expected>
15#include <zypp-media/ng/LazyMediaHandle>
21#include <zypp/ng/repo/Refresh>
39 expected<zypp::repo::RepoType>
probeRepoType ( SyncContextRef ctx,
SyncLazyMediaHandle medium, zypp::Pathname path, std::optional<zypp::Pathname> targetPath = {} );
42 expected<zypp::repo::RepoType>
probeRepoType ( SyncContextRef ctx,
RepoInfo repo, std::optional<zypp::Pathname> targetPath = {} );
45 expected<std::list<RepoInfo>>
readRepoFile( SyncContextRef ctx, zypp::Url repoFileUrl );
A smart container that manages a collection of MirroredOrigin objects, automatically grouping endpoin...
What is known about a repository.
boost::logic::tribool TriBool
3-state boolean logic (true, false and indeterminate).
AsyncOpRef< expected< zypp::repo::RepoType > > probeRepoType(ContextRef ctx, AsyncLazyMediaHandle medium, zypp::Pathname path, std::optional< zypp::Pathname > targetPath)
AsyncOpRef< expected< repo::RefreshCheckStatus > > checkIfToRefreshMetadata(repo::AsyncRefreshContextRef refCtx, LazyMediaHandle< Provide > medium, ProgressObserverRef progressObserver)
AsyncOpRef< expected< std::list< RepoInfo > > > readRepoFile(ContextRef ctx, zypp::Url repoFileUrl)
AsyncOpRef< expected< void > > refreshGeoIPData(ContextRef ctx, RepoInfo::url_set urls)
AsyncOpRef< expected< void > > addRepositories(AsyncRepoManagerRef mgr, zypp::Url url, ProgressObserverRef myProgress)
AsyncOpRef< expected< repo::AsyncRefreshContextRef > > refreshMetadata(repo::AsyncRefreshContextRef refCtx, LazyMediaHandle< Provide > medium, ProgressObserverRef progressObserver)
AsyncOpRef< expected< RepoInfo > > addRepository(AsyncRepoManagerRef mgr, RepoInfo info, ProgressObserverRef myProgress, const zypp::TriBool &forcedProbe)
AsyncOpRef< expected< repo::AsyncRefreshContextRef > > buildCache(repo::AsyncRefreshContextRef refCtx, zypp::RepoManagerFlags::CacheBuildPolicy policy, ProgressObserverRef progressObserver)
std::shared_ptr< AsyncOp< T > > AsyncOpRef
LazyMediaHandle< Provide > AsyncLazyMediaHandle
LazyMediaHandle< MediaSyncFacade > SyncLazyMediaHandle
RepoManagerRef< SyncContextRef > SyncRepoManagerRef
RepoManagerRef< ContextRef > AsyncRepoManagerRef
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)