plugify 1.0.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
plugify::PackageVersion Struct Referencefinal

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

#include <package.hpp>

Collaboration diagram for plugify::PackageVersion:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

plg::version version
 The semantic version of the package.
 
std::string checksum
 The checksum of the package.
 
std::string download
 The download URL for the package.
 
std::optional< 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 23 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 34 of file package.hpp.

Member Data Documentation

◆ checksum

std::string plugify::PackageVersion::checksum

The checksum of the package.

Definition at line 25 of file package.hpp.

◆ download

std::string plugify::PackageVersion::download

The download URL for the package.

Definition at line 26 of file package.hpp.

◆ platforms

std::optional<std::vector<std::string> > plugify::PackageVersion::platforms

The platforms supported by the package.

Definition at line 27 of file package.hpp.

◆ version

plg::version plugify::PackageVersion::version

The semantic version of the package.

Definition at line 24 of file package.hpp.


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