libzypp  11.13.5
RepoManager.cc File Reference
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <sstream>
#include <list>
#include <map>
#include <algorithm>
#include "zypp/base/InputStream.h"
#include "zypp/base/LogTools.h"
#include "zypp/base/Gettext.h"
#include "zypp/base/Function.h"
#include "zypp/base/Regex.h"
#include "zypp/PathInfo.h"
#include "zypp/TmpPath.h"
#include "zypp/ServiceInfo.h"
#include "zypp/repo/RepoException.h"
#include "zypp/RepoManager.h"
#include "zypp/media/MediaManager.h"
#include "zypp/media/CredentialManager.h"
#include "zypp/MediaSetAccess.h"
#include "zypp/ExternalProgram.h"
#include "zypp/ManagedFile.h"
#include "zypp/parser/RepoFileReader.h"
#include "zypp/parser/ServiceFileReader.h"
#include "zypp/repo/ServiceRepos.h"
#include "zypp/repo/yum/Downloader.h"
#include "zypp/repo/susetags/Downloader.h"
#include "zypp/parser/plaindir/RepoParser.h"
#include "zypp/repo/PluginServices.h"
#include "zypp/Target.h"
#include "zypp/ZYppFactory.h"
#include "zypp/HistoryLog.h"
#include "zypp/ZYppCallbacks.h"
#include "sat/Pool.h"
Include dependency graph for RepoManager.cc:

Go to the source code of this file.

Classes

struct  zypp::RepoCollector
 Simple callback to collect the results. More...
class  zypp::ServiceCollector
 Functor collecting ServiceInfos into a ServiceSet. More...
struct  zypp::RepoManager::Impl
 RepoManager implementation. More...

Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.

Functions

static std::list< RepoInfo > zypp::repositories_in_file (const Pathname &file)
 Reads RepoInfo's from a repo file.
static std::list< RepoInfo > zypp::repositories_in_dir (const Pathname &dir)
 List of RepoInfo's from a directory.
std::list< RepoInfo > zypp::readRepoFile (const Url &repo_file)
 Parses repo_file and returns a list of RepoInfo objects corresponding to repositories found within the file.
void zypp::assert_alias (const RepoInfo &info)
void zypp::assert_alias (const ServiceInfo &info)
void zypp::assert_urls (const RepoInfo &info)
void zypp::assert_url (const ServiceInfo &info)
Pathname zypp::rawcache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the raw cache path for a repository, this is usually /var/cache/zypp/alias.
Pathname zypp::rawproductdata_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the raw product metadata path for a repository, this is inside the raw cache dir, plus an optional path where the metadata is.
Pathname zypp::packagescache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the packages cache path for a repository.
Pathname zypp::solv_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the solv cache path for a repository.
std::ostream & zypp::operator<< (std::ostream &str, const RepoManager &obj)

Detailed Description

Definition in file RepoManager.cc.


Variable Documentation

media::MediaAccessId _mid

Definition at line 98 of file RepoManager.cc.