about summary refs log tree commit diff
path: root/tvix/store/src/errors.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-03-14T23·40+0100
committerflokli <flokli@flokli.de>2023-03-15T14·02+0000
commit09b30f895a4901557194179182840320c829b471 (patch)
treeb364eef101c5723dc3607f08a9ac91420dc81320 /tvix/store/src/errors.rs
parent4d465249eff7488e712586bf693668d513211632 (diff)
refactor(tvix/nix-compat): simplify fingerprint calculation r/6011
Instead of having two very similar match branches for the FOD and non-
FOD case, detect the FOD case while looping over all outputs.

In the case of anything other than recursive sha256 FODs, the
fingerprint and output path calculation is exactly the same.

Change-Id: Ieb6995653d008766e595cf29d7cd4fb1334e33dd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8310
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src/errors.rs')
0 files changed, 0 insertions, 0 deletions