nix-super/tests/unit/libstore
John Ericson eeb89c28b0 Worker proto use proper serialiser for BuildMode
Do this instead of an unchecked cast

I redid this to use the serialisation framework (including a unit test),
but I am keeping the reference to credit Jade for spotting the issue.

Change-Id: Icf6af7935e8f139bef36b40ad475e973aa48855c
(adapted from commit 2a7a824d83dc5fb33326b8b89625685f283a743b)

Co-Authored-By: Jade Lovelace <lix@jade.fyi>
2024-05-27 00:22:55 -04:00
..
data Worker proto use proper serialiser for BuildMode 2024-05-27 00:22:55 -04:00
common-protocol.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
content-address.cc Add Git object hashing to the store layer 2024-02-27 11:27:34 -05:00
derivation.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
derived-path.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
downstream-placeholder.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
local.mk Commit more stack size in some windows binaries 2024-05-23 17:42:55 -07:00
machines.cc Restore exposing machine file parsing 2024-05-23 00:03:52 -04:00
nar-info-disk-cache.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
nar-info.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
nix_api_store.cc test/libutil: Add OBSERVE_STRING macro 2024-04-11 17:39:21 +02:00
outputs-spec.cc Ban building Nix with NDEBUG 2024-03-02 11:22:46 -08:00
path-info.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
path.cc Disallow store path names that are . or .. (plus opt. -) 2024-01-31 18:35:19 +01:00
references.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
serve-protocol.cc Query path infos (plural) and handshake version minimum for hydra 2024-05-20 17:43:18 -04:00
store-reference.cc Add StoreReference::render 2024-05-22 09:20:15 -04:00
worker-protocol.cc Worker proto use proper serialiser for BuildMode 2024-05-27 00:22:55 -04:00