Pacm module
PackageManager::Options
Startup configuration for repository endpoints, credentials, and directories.
Options
#include <icy/pacm/packagemanager.h>Startup configuration for repository endpoints, credentials, and directories.
Public Attributes
| Return | Name | Description |
|---|---|---|
std::string | endpoint | The HTTP server endpoint. |
std::string | indexURI | The HTTP server URI for querying packages JSON. |
std::string | httpUsername | Username for HTTP basic auth. |
std::string | httpPassword | PAssword for HTTP basic auth. |
std::string | httpOAuthToken | Will be used instead of HTTP basic if provided. |
std::string | tempDir | Directory where package files will be downloaded and extracted. |
std::string | dataDir | Directory where package manifests will be kept. |
std::string | installDir | Directory where packages will be installed. |
std::string | platform | Platform (win32, linux, mac) |
std::string | checksumAlgorithm | Checksum algorithm (MDS/SHA1) |
bool | clearFailedCache | This flag tells the package manager weather or not to clear the package cache if installation fails. |
endpoint
std::string endpointThe HTTP server endpoint.
indexURI
std::string indexURIThe HTTP server URI for querying packages JSON.
httpUsername
std::string httpUsernameUsername for HTTP basic auth.
httpPassword
std::string httpPasswordPAssword for HTTP basic auth.
httpOAuthToken
std::string httpOAuthTokenWill be used instead of HTTP basic if provided.
tempDir
std::string tempDirDirectory where package files will be downloaded and extracted.
dataDir
std::string dataDirDirectory where package manifests will be kept.
installDir
std::string installDirDirectory where packages will be installed.
platform
std::string platformPlatform (win32, linux, mac)
checksumAlgorithm
std::string checksumAlgorithmChecksum algorithm (MDS/SHA1)
clearFailedCache
bool clearFailedCacheThis flag tells the package manager weather or not to clear the package cache if installation fails.
Public Methods
| Return | Name | Description |
|---|---|---|
Options inline |
Options
inline
inline Options(const std::string & root)