feat(tvix/store): add nixpath

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>
This commit is contained in:
Jürgen Hahn 2022-12-30 12:51:18 +01:00 committed by jrhahn
parent 357c4d4836
commit 5520bf3682
2 changed files with 143 additions and 0 deletions

View file

@ -1,4 +1,5 @@
mod nixbase32;
mod nixpath;
mod proto;
#[cfg(test)]