tvl-depot/tvix/nar-bridge/pkg
Florian Klink e6ba84ea50 feat(tvix/store/protos): add Export
Export will traverse a given PathInfo structure, and write the contents
in NAR format to the passed Writer.
It uses directoryLookupFn and blobLookupFn to resolve references.

This is being moved over from nar-bridge. We need to keep the code there
around until we can bump go.mod to storev1 with this merged, but the
tests can already be moved entirely.

Change-Id: Ie0de3077b09344cafa00ff1e2ddb8b52e9e631bc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9602
Tested-by: BuildkiteCI
Reviewed-by: Brian McGee <brian@bmcgee.ie>
Autosubmit: flokli <flokli@flokli.de>
2023-10-10 18:55:49 +00:00
..
exporter feat(tvix/store/protos): add Export 2023-10-10 18:55:49 +00:00
http feat(tvix/nar-bridge): add ToNixNarInfo() 2023-10-09 22:05:02 +00:00
importer refactor(tvix/nar-bridge): do root directory dgst check in uploader 2023-10-05 15:02:12 +00:00
pathinfosvc refactor(tvix/nar-bridge): use castorev1pb.RenamedNode 2023-10-10 18:02:38 +00:00