Loading [MathJax]/extensions/tex2jax.js
libzypp
17.31.23
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
c
d
g
h
m
n
o
p
r
s
w
y
Typedefs
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
Enumerator
d
e
f
l
n
p
r
s
t
v
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Related Functions
b
c
d
h
i
k
l
m
n
o
p
r
s
t
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
Variables
_
a
b
d
f
k
n
p
r
s
t
u
v
Typedefs
Macros
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
z
Downloader.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
9
10
#ifndef ZYPP_SOURCE_YUM_DOWNLOADER
11
#define ZYPP_SOURCE_YUM_DOWNLOADER
12
13
#include <zypp/Url.h>
14
#include <zypp/Pathname.h>
15
#include <
zypp/Fetcher.h
>
16
#include <zypp-core/OnMediaLocation>
17
#include <
zypp/MediaSetAccess.h
>
18
#include <zypp-core/ui/ProgressData>
19
#include <
zypp/RepoInfo.h
>
20
#include <
zypp/RepoStatus.h
>
21
#include <zypp/repo/Downloader.h>
22
23
namespace
zypp
24
{
25
namespace
repo
26
{
27
namespace
yum
28
{
40
class
Downloader
:
public
repo::Downloader
41
{
42
public
:
43
52
Downloader
(
const
RepoInfo
& info_r,
const
Pathname
& deltaDir_r =
Pathname
() );
53
61
void
download
(
MediaSetAccess
& media_r,
62
const
Pathname
& destDir_r,
63
const
ProgressData::ReceiverFnc
& progress_r =
ProgressData::ReceiverFnc
() )
override
;
64
68
RepoStatus
status
(
MediaSetAccess
& media_r )
override
;
69
70
private
:
71
class
Impl
;
72
friend
class
Impl
;
73
Pathname
_deltaDir
;
74
};
75
76
}
// ns yum
77
}
// ns source
78
}
// ns zypp
79
80
#endif
Fetcher.h
MediaSetAccess.h
RepoInfo.h
RepoStatus.h
zypp::MediaSetAccess
Media access layer responsible for handling files distributed on a set of media with media change and...
Definition:
MediaSetAccess.h:81
zypp::ProgressData::ReceiverFnc
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
Definition:
progressdata.h:140
zypp::RepoInfo
What is known about a repository.
Definition:
RepoInfo.h:72
zypp::RepoStatus
Track changing files or directories.
Definition:
RepoStatus.h:41
zypp::filesystem::Pathname
Pathname.
Definition:
Pathname.h:45
zypp::repo::Downloader
Downloader base class.
Definition:
Downloader.h:38
zypp::repo::Downloader::Downloader
Downloader()
Constructor.
Definition:
Downloader.cc:118
zypp::repo::yum::Downloader
Downloader for YUM (rpm-nmd) repositories Encapsulates all the knowledge of which files have to be do...
Definition:
Downloader.h:41
zypp::repo::yum::Downloader::_deltaDir
Pathname _deltaDir
Definition:
Downloader.h:73
zypp::repo::yum::Downloader::download
void download(MediaSetAccess &media_r, const Pathname &destDir_r, const ProgressData::ReceiverFnc &progress_r=ProgressData::ReceiverFnc()) override
Download metadata to a local directory.
Definition:
Downloader.cc:186
zypp::repo::yum::Downloader::status
RepoStatus status(MediaSetAccess &media_r) override
Status of the remote repository.
Definition:
Downloader.cc:205
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition:
CodePitfalls.doc:2
zypp::repo::yum::Downloader::Impl
Helper filtering the files offered by a RepomdFileReader.
Definition:
Downloader.cc:88
zypp
repo
yum
Downloader.h
Generated by
1.9.6