diff options
author | Florian Klink <flokli@flokli.de> | 2024-06-11T12·46+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-06-11T22·47+0000 |
commit | ff40332864b6b19f8d9a2f587dbcf7e05e3d16f8 (patch) | |
tree | 3037bd8a8f983a534be3d6c7453a31921d5e343d /tvix/eval | |
parent | beb7f57c73473598c51b14221c5e4996c81d2dde (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 'tvix/eval')
0 files changed, 0 insertions, 0 deletions