about summary refs log tree commit diff
path: root/tvix/nix-compat
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-11-22T19·19+0200
committerflokli <flokli@flokli.de>2023-11-22T20·37+0000
commit6b685ec4a562693f56dee27624074b7cc38e70c8 (patch)
tree168b223c29438d0b15ee5df34180a0e5163b3299 /tvix/nix-compat
parent639cca3e22706533d38b6af258767b985c191c45 (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/nix-compat')
0 files changed, 0 insertions, 0 deletions