snix/tvix/store/src
Florian Klink 8b7b85359b test(tvix/store/signing_wrapper): restructure
Move things around a bit to make it easier to understand what's going on:

 - We first validate our fixture invariants
 - We then insert into the PathInfoService
 - Do all comparisons and checks we can on the returned PathInfo struct
 - Only convert to the NarInfo variant to calculate the fingerprint,
   and don't keep intermediate let bindings for this

Before cl/12588, this was arguably much harder to do that way, as we
relied on some of the conversions done in the to_narinfo() function.

Change-Id: Iaddbf1079f73ce566ef6d56f69a823e080b2e006
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12595
Reviewed-by: Marijan Petričević <marijan.petricevic94@gmail.com>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: sinavir <tvix@sinavir.fr>
2024-10-11 17:19:12 +00:00
..
bin refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
nar feat(tvix/store): seekable nar renderer 2024-09-25 19:23:45 +00:00
pathinfoservice test(tvix/store/signing_wrapper): restructure 2024-10-11 17:19:12 +00:00
proto refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
tests refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
composition.rs refactor(tvix/store): use composition in tvix_store crate 2024-07-20 19:37:27 +00:00
import.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
lib.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
path_info.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
utils.rs feat(tvix/composition): allow urls as anonymous stores 2024-10-10 12:53:08 +00:00