diff options
author | Florian Klink <flokli@flokli.de> | 2023-11-18T14·33+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-11-18T19·38+0000 |
commit | eda5d4da377913c015f6658abd5d0f2c1366db48 (patch) | |
tree | f049b86bf61cf5d7010219994f53878705af4090 /tvix/clippy.toml | |
parent | e32c2070e4cf66d5a02ff024324aecc75fc520fd (diff) |
feat(tvix/store): From<&nix_compat::...::NarInfo<'_>> for PathInfo r/7029
This allows converting from the NarInfo falling out of the NarInfo parser (which is a bit annoying to handle due to lifetimes) to the PathInfo proto struct. The narinfo field, containing most of the data from the original NARInfo file, as well as the references (bytes) are populated. The node field is not populated, because it requires ingesting the NAR itself to describe the root node. Change-Id: I9c04dd6ad4cae556b455188a4255e34b4f6443c5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10067 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/clippy.toml')
0 files changed, 0 insertions, 0 deletions