about summary refs log tree commit diff
path: root/tvix/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-12-28T13·06+0100
committerflokli <flokli@flokli.de>2022-12-28T13·55+0000
commitd973c9772d63ea106cf378267298d87bd37beee1 (patch)
tree86d5d5120c35be6ba1e8c17cc2b8d741cb0b2427 /tvix/default.nix
parentce7be009946221425b1176b79fe44f559dd66c53 (diff)
chore(tvix/store/protos): add PathInfoService::CalculateNAR() r/5525
Expose the NAR calculation to a separate `CalculateNAR` method, which
responds with the NAR size and sha256 hash.

Contrary to what cl/7618 and cl/7620 initially did, don't add different
other request types.

In the CalculateNARResponse message, there's now some duplication in the
(optional) `narinfo` field of a PathInfo, but I'm not entirely sure if
we want to drop the fields from there yet.

Change-Id: Id797c56e17efedac115fbd43de9dfde9fa1db140
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7663
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/default.nix')
0 files changed, 0 insertions, 0 deletions