diff options
author | Florian Klink <flokli@flokli.de> | 2023-11-22T19·19+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-11-22T20·37+0000 |
commit | 6b685ec4a562693f56dee27624074b7cc38e70c8 (patch) | |
tree | 168b223c29438d0b15ee5df34180a0e5163b3299 /tvix/eval/src/tests/one_offs.rs | |
parent | 639cca3e22706533d38b6af258767b985c191c45 (diff) |
feat(tvix/store): add as_narinfo() for PathInfo r/7051
This allows seeing a PathInfo as a nix_compat::narinfo::NarInfo<'_>. It doesn't allocate any new data, but the NarInfo<'_> view allows us to access things like signature verification, or rendering out (alternations of this) as strings. Change-Id: Id0d8d7feeb626ee02c3d8a4932f24ace77022619 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10108 Reviewed-by: edef <edef@edef.eu> Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/one_offs.rs')
0 files changed, 0 insertions, 0 deletions