libzypp 17.31.23
zypp::repo::ServiceRepos Class Reference

Retrieval of repository list for a service. More...

#include <repo/ServiceRepos.h>

Inheritance diagram for zypp::repo::ServiceRepos:

Classes

struct  Impl
 

Public Types

typedef function< bool(const RepoInfo &)> ProcessRepo
 Return false from the callback to get a AbortRequestException to be thrown and the processing to be canceled.
 

Public Member Functions

 ServiceRepos (const Pathname &root_r, const ServiceInfo &service, const ProcessRepo &callback, const ProgressData::ReceiverFnc &progress=ProgressData::ReceiverFnc())
 bsc#1080693: Explicitly pass the RemoManagers rootDir until it can be queried from the ServiceInfo.
 
 ~ServiceRepos ()
 

Private Attributes

RW_pointer< Impl_impl
 Expose type only.
 

Detailed Description

Retrieval of repository list for a service.

Definition at line 25 of file ServiceRepos.h.

Member Typedef Documentation

◆ ProcessRepo

typedef function< bool( const RepoInfo & )> zypp::repo::ServiceRepos::ProcessRepo

Return false from the callback to get a AbortRequestException to be thrown and the processing to be canceled.

Definition at line 32 of file ServiceRepos.h.

Constructor & Destructor Documentation

◆ ServiceRepos()

zypp::repo::ServiceRepos::ServiceRepos ( const Pathname root_r,
const ServiceInfo service,
const ProcessRepo callback,
const ProgressData::ReceiverFnc progress = ProgressData::ReceiverFnc() 
)

bsc#1080693: Explicitly pass the RemoManagers rootDir until it can be queried from the ServiceInfo.

Required to execute plugin services chrooted.

Definition at line 96 of file ServiceRepos.cc.

◆ ~ServiceRepos()

zypp::repo::ServiceRepos::~ServiceRepos ( )

Definition at line 105 of file ServiceRepos.cc.

Member Data Documentation

◆ _impl

RW_pointer<Impl> zypp::repo::ServiceRepos::_impl
private

Expose type only.

Definition at line 47 of file ServiceRepos.h.


The documentation for this class was generated from the following files: