Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::ServeProtoTest Struct Reference
Inheritance diagram for nix::ServeProtoTest:
nix::VersionedProtoTest< ServeProto, serveProtoDir > nix::ProtoTest< ServeProto, protocolDir >

Public Attributes

ServeProto::Version defaultVersion = 2 << 8 | 0

Additional Inherited Members

Public Member Functions inherited from nix::VersionedProtoTest< ServeProto, serveProtoDir >
void readTest (PathView testStem, typename ServeProto::Version version, T value)
void writeTest (PathView testStem, typename ServeProto::Version version, const T &value)
Protected Member Functions inherited from nix::ProtoTest< ServeProto, protocolDir >
Path goldenMaster (std::string_view testStem)
Protected Attributes inherited from nix::ProtoTest< ServeProto, protocolDir >
Path unitTestData

Member Data Documentation

◆ defaultVersion

ServeProto::Version nix::ServeProtoTest::defaultVersion = 2 << 8 | 0

For serializers that don't care about the minimum version, we used the oldest one: 1.0.


The documentation for this struct was generated from the following file:
  • tests/unit/libstore/serve-protocol.cc