Pacm module
LocalPackage::Manifest
Manifest of installed files recorded for a local package.
Manifest
#include <icy/pacm/package.h>struct ManifestDefined in src/pacm/include/icy/pacm/package.h:192
Manifest of installed files recorded for a local package.
List of all members
| Name | Kind | Owner |
|---|---|---|
root | variable | Declared here |
Manifest | function | Declared here |
~Manifest | function | Declared here |
empty | function | Declared here |
addFile | function | Declared here |
Public Attributes
| Return | Name | Description |
|---|---|---|
json::Value & | root |
root
json::Value & rootDefined in src/pacm/include/icy/pacm/package.h:206
Public Methods
| Return | Name | Description |
|---|---|---|
Manifest | ||
bool | empty virtual const | Returns true if the manifest contains no file entries. |
void | addFile virtual | Appends path to the manifest file list. |
Manifest
Manifest(json::Value & src)Defined in src/pacm/include/icy/pacm/package.h:195
Parameters
srcJSON array node that backs this manifest.
empty
virtual const
virtual bool empty() constDefined in src/pacm/include/icy/pacm/package.h:199
Returns true if the manifest contains no file entries.
addFile
virtual
virtual void addFile(const std::string & path)Defined in src/pacm/include/icy/pacm/package.h:204
Appends path to the manifest file list.
Parameters
pathRelative path of an installed file.
