apt @VERSION@
Public Attributes

pkgCache::PackageFile Struct Reference

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

#include <pkgcache.h>

List of all members.

Public Attributes

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

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 Archive

the release information

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

map_ptrloc IndexType

indicates what sort of index file this is

enumerate at least the possible indexes

unsigned long 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.


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