about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-23T13·18+0100
committerflokli <flokli@flokli.de>2023-01-23T13·40+0000
commitfc177af0c1dab6a4504e7e95c63507eb2a942e8f (patch)
tree28e07d30d8a1f220baaf833346ba2e81fe7c2ed2 /third_party
parent5d856ac2e9b24f7b5a72346d8206cc366e1663ae (diff)
refactor(tvix/derivation): pass fingerprint to build_store_path r/5738
All of these occurences are actually sha256 digests of some fingerprint
- which means there's not a lot of need to do the hashing outside.
Instead of passing in a digest, keep the sha256 hasher in the function,
and pass in a fingerprint.

This makes it much easier to construct fingerprints using format!() in
all consumers, because we need don't need to juggle with the hasher
anymore.

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