apt 3.0.3
commandline package manager
Public Member Functions | Protected Member Functions | List of all members
pkgAcqMetaSig Class Referencefinal

An acquire item that downloads the detached signature {{{ of a meta-index (Release) file, then queues up the release file itself. More...

#include <apt-pkg/acquire-item.h>

Inheritance diagram for pkgAcqMetaSig:
[legend]
Collaboration diagram for pkgAcqMetaSig:
[legend]

Public Member Functions

bool HashesRequired () const override
 
void Failed (std::string const &Message, pkgAcquire::MethodConfig const *Cnf) override
 
void Done (std::string const &Message, HashStringList const &Hashes, pkgAcquire::MethodConfig const *Cnf) override
 
std::string Custom600Headers () const override
 
 pkgAcqMetaSig (pkgAcquire *const Owner, pkgAcqMetaClearSig *const TransactionManager, IndexTarget const &Target, pkgAcqMetaIndex *const MetaIndex) APT_NONNULL(2
 Create a new pkgAcqMetaSig.
 
- Public Member Functions inherited from pkgAcqTransactionItem
virtual bool TransactionState (TransactionStates const state)
 
std::string DescURI () const override
 
HashStringList GetExpectedHashes () const override
 
virtual std::string GetMetaKey () const
 
bool HashesRequired () const override
 
virtual bool AcquireByHash () const
 
 pkgAcqTransactionItem (pkgAcquire *const Owner, pkgAcqMetaClearSig *const TransactionManager, IndexTarget const &Target) APT_NONNULL(2
 

Protected Member Functions

std::string GetFinalFilename () const override
 Get the full pathname of the final file for the current URI.
 
- Protected Member Functions inherited from pkgAcqTransactionItem
HashStringList GetExpectedHashesFor (std::string const &MetaKey) const
 
bool QueueURI (pkgAcquire::ItemDesc &Item) override
 

Additional Inherited Members

- Public Types inherited from pkgAcqTransactionItem
enum  TransactionStates { TransactionStarted , TransactionCommit , TransactionAbort }
 
- Public Attributes inherited from pkgAcqTransactionItem
IndexTarget const Target
 
std::string PartialFile
 storge name until a transaction is finished
 
pkgAcqMetaClearSig *const TransactionManager
 TransactionManager.
 

Detailed Description

An acquire item that downloads the detached signature {{{ of a meta-index (Release) file, then queues up the release file itself.

Todo:
Why protected members?
See also
pkgAcqMetaIndex

Member Function Documentation

◆ Failed()

void Failed ( std::string const &  Message,
pkgAcquire::MethodConfig const *  Cnf 
)
override

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