lix/src
John Ericson 469d06f9bc Split out worker protocol template definitions from declarations
This is generally a fine practice: Putting implementations in headers
makes them harder to read and slows compilation. Unfortunately it is
necessary for templates, but we can ameliorate that by putting them in a
separate header. Only files which need to instantiate those templates
will need to include the header with the implementation; the rest can
just include the declaration.

This is now documenting in the contributing guide.

Also, it just happens that these polymorphic serializers are the
protocol agnostic ones. (Worker and serve protocol have the same logic
for these container types.) This means by doing this general template
cleanup, we are also getting a head start on better indicating which
code is protocol-specific and which code is shared between protocols.
2023-06-19 11:45:59 -04:00
..
build-remote Split comment, match with each variable 2023-05-08 10:08:01 -04:00
libcmd Clean up a few things related to profiles (#8526) 2023-06-19 04:04:59 +00:00
libexpr src/libexpr/eval.hh: add link for allowed-uris option 2023-06-18 23:36:32 -04:00
libfetchers Allow tarball URLs to redirect to a lockable immutable URL 2023-06-13 14:17:45 +02:00
libmain nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
libstore Split out worker protocol template definitions from declarations 2023-06-19 11:45:59 -04:00
libutil Split out worker protocol template definitions from declarations 2023-06-19 11:45:59 -04:00
nix Clean up a few things related to profiles (#8526) 2023-06-19 04:04:59 +00:00
nix-build nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-channel Add nix-channel --list-generations 2023-06-02 10:12:35 +02:00
nix-collect-garbage Clean up a few things related to profiles (#8526) 2023-06-19 04:04:59 +00:00
nix-copy-closure Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
nix-env Clean up a few things related to profiles (#8526) 2023-06-19 04:04:59 +00:00
nix-instantiate nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-store Split out worker protocol template definitions from declarations 2023-06-19 11:45:59 -04:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00