about summary refs log tree commit diff
path: root/tvix/store/src/utils.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-02-29T08·52+0200
committerflokli <flokli@flokli.de>2024-03-03T17·12+0000
commit0b396553d6ba6223ee7c19e0d29480972d2d0fc7 (patch)
tree7bd80e8c984e1fa1779cfd5e9bfe21599b4f7661 /tvix/store/src/utils.rs
parentef3f8936cbb581e615e1e3c96f01ec9b42ceaa9e (diff)
refactor(tvix/store/protos): more granular nix-compat conversions r/7649
implement From<&nix_compat::nixhash::CAHash> for nar_info::ca::Hash
individually, and make
From<&nix_compat::nixhash::CAHash> for nar_info::Ca a small wrapper that
uses it, as well as the .hash().digest_as_bytes() for the digest.

Change-Id: I7e9b6edd1e3f149eb270faf2928cd846d74e77ad
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11071
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Brian Olsen <me@griff.name>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src/utils.rs')
0 files changed, 0 insertions, 0 deletions