snix/tvix/store/src/pathinfoservice
Florian Klink ff40332864 refactor(tvix/store/nar/import): add ingest_nar_and_hash
This wraps ingest_nar, but also keeps track of the number of bytes read,
and calculates the sha256 digest of it.

Make use of it in the NixHTTPPathInfoService, where this code is coming
from.

Change-Id: I9c54e93d3ec8ed9ede87aed43e04d114fb06897b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11787
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-06-11 22:47:31 +00:00
..
fs feat(tvix/castore/fs): support extended attributes 2024-04-15 09:27:04 +00:00
tests refactor(tvix/store/pathinfo): test with PathInfoService directly 2024-05-20 15:03:10 +00:00
bigtable.rs refactor(tvix/store/pathinfo): test with PathInfoService directly 2024-05-20 15:03:10 +00:00
combinators.rs feat(tvix/store/pathinfo): add a Cache combinator 2024-05-13 22:05:59 +00:00
from_addr.rs refactor(tvix/store/pathinfo/sled): drop {blob,directory}_service 2024-05-11 13:55:21 +00:00
grpc.rs refactor(tvix/store/pathinfo): test with PathInfoService directly 2024-05-20 15:03:10 +00:00
lru.rs feat(tvix/store/pathinfo/*): add more instrumentation 2024-05-12 22:03:15 +00:00
memory.rs feat(tvix/store/pathinfo/*): add more instrumentation 2024-05-12 22:03:15 +00:00
mod.rs feat(tvix/store/pathinfo): add a Cache combinator 2024-05-13 22:05:59 +00:00
nix_http.rs refactor(tvix/store/nar/import): add ingest_nar_and_hash 2024-06-11 22:47:31 +00:00
sled.rs feat(tvix/tracing): introduce common tvix-tracing crate 2024-06-10 16:35:08 +00:00