snix/tvix/store/src
Ryan Lahfa 14fe65a50b refactor(tvix/store): generalize PathInfo constructors
Instead of enforcing NAR SHA256 all the time, we generalize the
`PathInfo` constructor to take a `CAHash` argument which can drive
whether we are having a flat, NAR or text scheme.

With this, it is now possible to implement flat schemes in our
evaluation builtins, e.g. `builtins.path`.

Change-Id: I15bfee0ef4f0f428bfbd2f30c57c012cdcf6a976
Signed-off-by: Ryan Lahfa <tvl@lahfa.xyz>
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11286
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-04-01 12:30:26 +00:00
..
bin feat(tvix/store): support RUST_LOG env var 2024-03-18 16:10:05 +00:00
nar refactor(tvix/store/nar/renderer): don't require AsRef 2024-03-28 07:58:10 +00:00
pathinfoservice refactor(tvix/store/pathinfo/from_addr): stop using gen_*_service 2024-03-28 07:58:10 +00:00
proto refactor(tvix/store): drop proto/tests/{utils,grpc_pathinfoservice}.rs 2024-03-28 07:58:10 +00:00
tests refactor(tvix/store): drop proto/tests/{utils,grpc_pathinfoservice}.rs 2024-03-28 07:58:10 +00:00
import.rs refactor(tvix/store): generalize PathInfo constructors 2024-04-01 12:30:26 +00:00
lib.rs feat(tvix/store): add rstest-based PathInfoService tests 2024-03-28 07:02:18 +00:00
utils.rs refactor(tvix/store): import_pathimport_path_as_nar_ca 2024-01-20 18:26:17 +00:00