about summary refs log tree commit diff
path: root/tvix/store/src/nar/import.rs
AgeCommit message (Collapse)AuthorFilesLines
2023-11-05 r/6951 feat(tvix/store/nar): add read_nar methodFlorian Klink1-0/+336
This adds a function that can ingest a NAR file into a given blob_service and directory_service, returning the root node. Passing around the directory_putter is a bit annoying, but at least for this linear "reading through a NAR" case, we don't need it to be clone or sync. Change-Id: Ia26d596f5dffc6dbd69aa39a82b59bba41685a9c Reviewed-on: https://cl.tvl.fyi/c/depot/+/9915 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI