plugify  1.0.0.0
Public Member Functions | Public Attributes | List of all members
plugify::PackageVersion Struct Referencefinal

Represents a version of a software package. More...

#include <package.hpp>

Public Member Functions

bool operator< (const PackageVersion &rhs) const noexcept
 Overloaded less-than operator for comparing PackageVersion instances. More...
 

Public Attributes

int32_t version
 The version number of the package.
 
std::string checksum
 The checksum of the package.
 
std::string download
 The download URL for the package.
 
std::vector< std::string > platforms
 The platforms supported by the package.
 

Detailed Description

Represents a version of a software package.

The PackageVersion structure holds information about a package version, including the version number, checksum, download URL, supported platforms, and optional dependencies and conflicts.

Definition at line 20 of file package.hpp.

Member Function Documentation

◆ operator<()

bool plugify::PackageVersion::operator< ( const PackageVersion rhs) const
inlinenoexcept

Overloaded less-than operator for comparing PackageVersion instances.

Parameters
rhsThe right-hand side PackageVersion for comparison.
Returns
True if the version of this instance is less than the version of rhs.

Definition at line 31 of file package.hpp.


The documentation for this struct was generated from the following file: