tvl-depot/tvix/store/src/proto
John Ericson 26c68f8e89 refactor(nix-compat): Properly encapsulate store path construction
Before there was code scattered about (e.g. text hashing module and
derivation output computation) constructing store paths from low level
building blocks --- there was some duplication and it was easy to make
nonsense store paths.

Now, we have roughly the same "safe-ish" ways of constructing them as
C++ Nix, and only those are exposed:

- Make text hashed content-addressed store paths

- Make other content-addressed store paths

- Make input-addressed fixed output hashes

Change-Id: I122a3ee0802b4f45ae386306b95b698991be89c8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8411
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2023-04-09 15:12:21 +00:00
..
tests refactor(nix-compat): Properly encapsulate store path construction 2023-04-09 15:12:21 +00:00
grpc_blobservice_wrapper.rs docs(tvix/store): fix typo in comment 2023-03-27 08:44:39 +00:00
grpc_directoryservice_wrapper.rs docs(tvix/store): update comment regarding reachability check 2023-04-07 09:35:39 +00:00
grpc_pathinfoservice_wrapper.rs refactor(tvix/store/nar): pass in &proto::node::Node 2023-03-17 07:49:38 +00:00
mod.rs refactor(tvix/nix-compat): move build_store_path out of derivation 2023-03-30 14:03:35 +00:00