libzypp 17.38.5

rpmmd.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#ifndef ZYPP_NG_RPMMD_WORKFLOW_INCLUDED
10#define ZYPP_NG_RPMMD_WORKFLOW_INCLUDED
11
12
13#include <zypp/RepoInfo.h>
14#include <zypp/ng/repo/Downloader>
15#include <zypp-core/ng/async/task.h>
16#include <zypp-core/ng/pipelines/Expected>
17
18#include <zypp/ManagedFile.h>
19
20
21 namespace zyppng {
22 class ProvideMediaHandle;
23
24 ZYPP_FWD_DECL_TYPE_WITH_REFS( ProgressObserver );
25
31 namespace RpmmdWorkflows {
32 MaybeAwaitable<expected<zypp::RepoStatus>> repoStatus( repo::DownloadContextRef dl, ProvideMediaHandle mediaHandle );
33
34 MaybeAwaitable<expected<repo::DownloadContextRef>> download ( repo::DownloadContextRef dl, ProvideMediaHandle mediaHandle, ProgressObserverRef progressObserver = nullptr );
35 }
36}
37
38
39#endif
RepoInfo.h
zyppng::ProgressObserver
Definition progressobserver.h:28
zyppng::ProvideMediaHandle
Definition provide.h:27
zyppng::RpmmdWorkflows
Downloader workspace for YUM (rpm-nmd) repositories Encapsulates all the knowledge of which files hav...
Definition rpmmd.cc:24
zyppng::RpmmdWorkflows::download
MaybeAwaitable< expected< repo::DownloadContextRef > > download(repo::DownloadContextRef dl, ProvideMediaHandle mediaHandle, ProgressObserverRef progressObserver)
Definition rpmmd.cc:155
zyppng::RpmmdWorkflows::repoStatus
MaybeAwaitable< expected< zypp::RepoStatus > > repoStatus(repo::DownloadContextRef dl, ProvideMediaHandle mediaHandle)
Definition rpmmd.cc:68
zyppng
Definition MediaNetworkRequestExecutor.h:16
ManagedFile.h
ZYPP_FWD_DECL_TYPE_WITH_REFS
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)
Definition zyppglobal.h:126