apt 3.0.3
commandline package manager
Public Attributes | List of all members
pkgCache< Str, Itr >::Provides Struct Reference

handles virtual packages More...

#include <apt-pkg/pkgcache.h>

Collaboration diagram for pkgCache< Str, Itr >::Provides:
[legend]

Public Attributes

map_pointer< PackageParentPkg
 index of the package providing this
 
map_pointer< pkgCache::VersionVersion
 index of the version this provide line applies to
 
map_stringitem_t ProvideVersion
 version in the provides line (if any)
 
map_flags_t Flags
 
map_pointer< ProvidesNextProvides
 next provides (based of package)
 
map_pointer< ProvidesNextPkgProv
 next provides (based of version)
 

Detailed Description

template<typename Str, typename Itr>
struct pkgCache< Str, Itr >::Provides

handles virtual packages

When a Provides: line is encountered a new provides record is added associating the package with a virtual package name. The provides structures are linked off the package structures. This simplifies the analysis of dependencies and other aspects A provides refers to a specific version of a specific package, not all versions need to provide that provides.

Member Data Documentation

◆ ProvideVersion

template<typename Str , typename Itr >
map_stringitem_t ProvideVersion

version in the provides line (if any)

This version allows dependencies to depend on specific versions of a Provides, as well as allowing Provides to override existing packages.


The documentation for this struct was generated from the following file: