lix/unit-test-data/libstore
John Ericson 937e02e7b9 Shuffle ValidPathInfo JSON rendering
`Store::pathInfoToJSON` was a rather baroque functions, being full of
parameters to support both parsed derivations and `nix path-info`. The
common core of each, a simple `dValidPathInfo::toJSON` function, is
factored out, but the rest of the logic is just duplicated and then
specialized to its use-case (at which point it is no longer that
duplicated).

This keeps the human oriented CLI logic (which is currently unstable)
and the core domain logic (export reference graphs with structured
attrs, which is stable), separate, which I think is better.
2023-11-06 11:06:31 -05:00
..
common-protocol Unit test the "common protocol" too 2023-10-09 16:57:03 -04:00
derivation Turn derivation unit tests into unit characterization tests 2023-10-26 18:09:01 -04:00
nar-info Shuffle ValidPathInfo JSON rendering 2023-11-06 11:06:31 -05:00
path-info Shuffle ValidPathInfo JSON rendering 2023-11-06 11:06:31 -05:00
serve-protocol Factor out serialization for BuildResult 2023-10-20 15:19:28 -04:00
worker-protocol Factor out UnkeyedValidPathInfo and test 2023-10-20 15:21:04 -04:00