![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <serve-protocol.hh>
Public Member Functions | |
| constexpr auto | operator<=> (const Version &) const =default |
| constexpr unsigned int | toWire () const |
Static Public Member Functions | |
| static constexpr Version | fromWire (unsigned int wire) |
Public Attributes | |
| unsigned int | major |
| uint8_t | minor |
|
inlinestaticconstexpr |
Convert from wire format.
|
inlineconstexpr |
Convert to wire format for protocol compatibility. Format: (major << 8) | minor