about summary refs log tree commit diff
path: root/third_party/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-06-11T12·46+0300
committerclbot <clbot@tvl.fyi>2024-06-11T22·47+0000
commitff40332864b6b19f8d9a2f587dbcf7e05e3d16f8 (patch)
tree3037bd8a8f983a534be3d6c7453a31921d5e343d /third_party/default.nix
parentbeb7f57c73473598c51b14221c5e4996c81d2dde (diff)
refactor(tvix/store/nar/import): add ingest_nar_and_hash r/8248
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
Diffstat (limited to 'third_party/default.nix')
0 files changed, 0 insertions, 0 deletions