about summary refs log tree commit diff
path: root/tvix/store/src/main.rs
diff options
context:
space:
mode:
authorJürgen Hahn <mail.jhahn@gmail.com>2022-12-30T11·51+0100
committerjrhahn <mail.jhahn@gmail.com>2022-12-30T14·39+0000
commit5520bf3682040fc0eabba9cd55d6c403f35c8775 (patch)
treeb0befe8588d43e7cb9c039dfa9508e8b0694842a /tvix/store/src/main.rs
parent357c4d4836180975b4699877b2344d1b2c88d690 (diff)
feat(tvix/store): add nixpath r/5551
This implements the NixPath structure. NixPath allow to parse a string to a nix path. If the parsing fails, a DecodeError will be raised.

Change-Id: I28363cdcfb27f04bf21a11c0d130b461667e3720
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7706
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store/src/main.rs')
-rw-r--r--tvix/store/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/store/src/main.rs b/tvix/store/src/main.rs
index cca96c1bbb57..c7823b87e468 100644
--- a/tvix/store/src/main.rs
+++ b/tvix/store/src/main.rs
@@ -1,4 +1,5 @@
 mod nixbase32;
+mod nixpath;
 mod proto;
 
 #[cfg(test)]