#include <icy/pacm/packagemanager.h>Startup configuration for repository endpoints, credentials, and directories.
| 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. |
std::string endpointThe HTTP server endpoint.
std::string indexURIThe HTTP server URI for querying packages JSON.
std::string httpUsernameUsername for HTTP basic auth.
std::string httpPasswordPAssword for HTTP basic auth.
std::string httpOAuthTokenWill be used instead of HTTP basic if provided.
std::string tempDirDirectory where package files will be downloaded and extracted.
std::string dataDirDirectory where package manifests will be kept.
std::string installDirDirectory where packages will be installed.
std::string platformPlatform (win32, linux, mac)
std::string checksumAlgorithmChecksum algorithm (MDS/SHA1)
bool clearFailedCacheThis flag tells the package manager weather or not to clear the package cache if installation fails.
| Return | Name | Description |
|---|---|---|
Options inline |
inline
inline Options(const std::string & root)