Package manifests, install tasks, and repository management helpers.
| Name | Description |
|---|---|
InstallMonitor | Aggregates multiple install tasks and reports overall progress. |
InstallTask | Downloads, extracts, and finalizes a single package installation. |
PackageManager | Loads package manifests and coordinates install, update, and uninstall workflows. |
InstallationState | State machine states for package installation. |
InstallOptions | Package installation options. |
LocalPackage | Package metadata for an installed package on the local filesystem. |
Package | JSON-backed package metadata shared by local and remote package records. |
PackagePair | Pairing of the installed and remote metadata for the same package ID. |
RemotePackage | Package metadata loaded from the remote package index. |
| Return | Name | Description |
|---|---|---|
std::vector< LocalPackage * > | LocalPackageVec | Vector of local package pointers used by install monitor progress snapshots. |
std::vector< InstallTask * > | InstallTaskVec | Vector of raw install task pointers used for transient iteration. |
std::vector< InstallTask::Ptr > | InstallTaskPtrVec | Vector of shared install task handles retained across async workflows. |
std::vector< PackagePair > | PackagePairVec | Vector of local/remote package pairs used for reconciliation and update checks. |
KeyedStore< std::string, LocalPackage > | LocalPackageStore | Keyed store of installed packages indexed by package ID. |
KeyedStore< std::string, RemotePackage > | RemotePackageStore | Keyed store of remote package metadata indexed by package ID. |
std::vector< LocalPackage * > LocalPackageVec()Vector of local package pointers used by install monitor progress snapshots.
std::vector< InstallTask * > InstallTaskVec()Vector of raw install task pointers used for transient iteration.
std::vector< InstallTask::Ptr > InstallTaskPtrVec()Vector of shared install task handles retained across async workflows.
std::vector< PackagePair > PackagePairVec()Vector of local/remote package pairs used for reconciliation and update checks.
KeyedStore< std::string, LocalPackage > LocalPackageStore()Keyed store of installed packages indexed by package ID.
KeyedStore< std::string, RemotePackage > RemotePackageStore()Keyed store of remote package metadata indexed by package ID.
| Return | Name | Description |
|---|---|---|
std::string | getInstallTaskNamesString inline | Returns a comma-delimited string of display names from packages. |
void | validatePathComponent inline | Validates that a string is safe to use as a path component. Rejects path traversal sequences (..), directory separators (/ and ), null bytes, and empty strings. |
inline
inline std::string getInstallTaskNamesString(LocalPackageVec & packages)Returns a comma-delimited string of display names from packages.
packages Vector of LocalPackage pointers to format.Comma-separated name string, e.g. "PluginA, PluginB".
inline
inline void validatePathComponent(std::string_view name, std::string_view context)Validates that a string is safe to use as a path component. Rejects path traversal sequences (..), directory separators (/ and ), null bytes, and empty strings.
name The path component to validate.
context Caller description included in the exception message.
std::invalid_argument if name fails any validation check.