plugify
1.0.0.0
|
Represents a locally installed software package. More...
#include <package.hpp>
Public Member Functions | |
operator RemotePackage () const | |
Conversion operator to convert LocalPackage to RemotePackage. More... | |
Public Member Functions inherited from plugify::Package | |
bool | operator== (const Package &rhs) const noexcept |
Overloaded equality operator for comparing Package instances. More... | |
Public Attributes | |
std::filesystem::path | path |
The file path to the locally installed package. | |
int32_t | version |
The version number of the locally installed package. | |
std::shared_ptr< Descriptor > | descriptor |
A shared pointer to the package descriptor. | |
Public Attributes inherited from plugify::Package | |
std::string | name |
The name of the package. | |
std::string | type |
The type of the package (e.g., module, plugin). | |
Represents a locally installed software package.
The LocalPackage structure extends the Package structure to include information about the local installation, such as the file path, version, and descriptor. It also provides a conversion operator to convert to a RemotePackage for compatibility.
Definition at line 103 of file package.hpp.
|
inlineexplicit |
Conversion operator to convert LocalPackage to RemotePackage.
Definition at line 112 of file package.hpp.