snix/tvix/store/src
Florian Klink cbd72b56b2 feat(tvix/store/nar): add read_nar method
This adds a function that can ingest a NAR file into a given
blob_service and directory_service, returning the root node.

Passing around the directory_putter is a bit annoying, but at least for
this linear "reading through a NAR" case, we don't need it to be clone
or sync.

Change-Id: Ia26d596f5dffc6dbd69aa39a82b59bba41685a9c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9915
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
2023-11-05 12:23:55 +00:00
..
bin feat(tvix/store/protos): add CA field 2023-10-22 17:04:37 +00:00
fs feat(tvix/castore): bump [Directory,File]Node size to u64 2023-11-05 10:57:01 +00:00
nar feat(tvix/store/nar): add read_nar method 2023-11-05 12:23:55 +00:00
pathinfoservice refactor(nix-compat/store_path): make digest and name private 2023-10-27 13:56:51 +00:00
proto refactor(tvix): turn nullary enum variants into unit variants 2023-10-27 13:56:51 +00:00
tests refactor(tvix/store/tests/nar_renderer): use castorepb consistently 2023-11-05 12:20:19 +00:00
lib.rs refactor(tvix/store): Upgrade tokio-listener to get tonic support 2023-10-14 18:56:51 +00:00