diff options
author | Ryan Lahfa <tvl@lahfa.xyz> | 2024-01-08T08·50+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-01-20T18·26+0000 |
commit | 4c3ba46ba36b2fa2d9079fcc92ef27875f26418b (patch) | |
tree | 0e1115eabc25445a8567661e0fc8866008d8892f /tvix/store/src/lib.rs | |
parent | 7275288f0e0a0f29c3f023a7d8a4c38157fb637b (diff) |
refactor(tvix/store): `import_path` → `import_path_as_nar_ca` r/7432
Add multiple additional helpers such as: - `path_to_name`: derive the basename of a given path - `derive_nar_ca_path_info`: derive the `PathInfo` for a content addressed NAR which isolates further the tree walking feature and the ingestion feature. Additionally, we don't `expect` anymore and propagate properly ingestion errors up. Change-Id: I60edb5b633911c58ade7e19f5002e6f75f90e262 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10574 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Autosubmit: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/store/src/lib.rs')
-rw-r--r-- | tvix/store/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/store/src/lib.rs b/tvix/store/src/lib.rs index 4bc7b5e02d57..2fa86ff6a468 100644 --- a/tvix/store/src/lib.rs +++ b/tvix/store/src/lib.rs @@ -1,3 +1,4 @@ +pub mod import; pub mod nar; pub mod pathinfoservice; pub mod proto; |