1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 23:03:53 -04:00
nix/tests/unit/libstore
John Ericson a5521b7d94 Factor out ServeProto::Serialiser<UnkeyedValidPathInfo> and test
In the process, partially undo e89b5bd0bf
in that the ancient < 2.4 version is now supported again by the
serializer again. `LegacySSHStore`, instead of also asserting that the
version is at least 4, just checks that `narHash` is set.

This allows us to better test the serializer in isolation for both
versions (< 4 and >= 4).
2023-12-07 11:34:18 -05:00
..
data Factor out ServeProto::Serialiser<UnkeyedValidPathInfo> and test 2023-12-07 11:34:18 -05:00
test-data
common-protocol.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
derivation.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
derived-path.cc
downstream-placeholder.cc
local.mk
machines.cc
nar-info-disk-cache.cc
nar-info.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
outputs-spec.cc
path-info.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
path.cc
references.cc
serve-protocol.cc Factor out ServeProto::Serialiser<UnkeyedValidPathInfo> and test 2023-12-07 11:34:18 -05:00
worker-protocol.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00