libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgCache::PackageFile Struct Reference

stores information about the files used to generate the cache More...

#include <pkgcache.h>

Collaboration diagram for pkgCache::PackageFile:

Public Attributes

map_ptrloc Architecture
 
map_ptrloc Archive
 the release information More...
 
map_ptrloc Codename
 
map_ptrloc Component
 
map_ptrloc FileName
 physical disk file that this PackageFile represents More...
 
unsigned long Flags
 
unsigned int ID
 unique sequel ID More...
 
map_ptrloc IndexType
 indicates what sort of index file this is More...
 
map_ptrloc Label
 
time_t mtime
 Modification time for the file. More...
 
map_ptrloc NextFile
 Link to the next PackageFile in the Cache. More...
 
map_ptrloc Origin
 
map_ptrloc Site
 The site the index file was fetched from. More...
 
unsigned long Size
 Size of the file. More...
 
map_ptrloc Version
 

Detailed Description

stores information about the files used to generate the cache

Package files are referenced by Version structures to be able to know after the generation still from which Packages file includes this Version as we need this information later on e.g. for pinning.

Member Data Documentation

map_ptrloc pkgCache::PackageFile::Architecture
map_ptrloc pkgCache::PackageFile::Archive

the release information

Please see the files document for a description of what the release information means.

Referenced by pkgCache::PkgFileIterator::Archive().

map_ptrloc pkgCache::PackageFile::Codename
map_ptrloc pkgCache::PackageFile::Component
map_ptrloc pkgCache::PackageFile::FileName

physical disk file that this PackageFile represents

Referenced by pkgCache::PkgFileIterator::FileName().

unsigned long pkgCache::PackageFile::Flags
unsigned int pkgCache::PackageFile::ID

unique sequel ID

map_ptrloc pkgCache::PackageFile::IndexType

indicates what sort of index file this is

enumerate at least the possible indexes

Referenced by pkgCache::PkgFileIterator::IndexType().

map_ptrloc pkgCache::PackageFile::Label
time_t pkgCache::PackageFile::mtime

Modification time for the file.

map_ptrloc pkgCache::PackageFile::NextFile

Link to the next PackageFile in the Cache.

Referenced by pkgCache::PkgFileIterator::operator++().

map_ptrloc pkgCache::PackageFile::Origin
map_ptrloc pkgCache::PackageFile::Site

The site the index file was fetched from.

Referenced by pkgCache::PkgFileIterator::Site().

unsigned long pkgCache::PackageFile::Size

Size of the file.

Used together with the modification time as a simple check to ensure that the Packages file has not been altered since Cache generation.

map_ptrloc pkgCache::PackageFile::Version

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