about summary refs log tree commit diff
path: root/tvix/castore/src/lib.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-05-01T09·53+0300
committerflokli <flokli@flokli.de>2024-05-01T11·01+0000
commit959c50c4ac7df882c22306610fcb8b26cdf0fcf5 (patch)
treebfebe9d46466bb4639b68e33e33a196eca55d658 /tvix/castore/src/lib.rs
parent360d80f62e55917bf9cd097251e4fb17f176e559 (diff)
feat(tvix/castore/path): add Path{Buf} r/8050
This contains Path and PathBuf, representing platform-independent paths
representable by the castore model.

These are always relative, and platform-independent, which distinguishes
them from the ones provided in the standard library.

A subsequent CL will move IngestionEntry (and more) to use them.

Change-Id: Ib85857f4159ebc2f3c00192c95d4e5b54ffd4fcf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11558
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Diffstat (limited to 'tvix/castore/src/lib.rs')
-rw-r--r--tvix/castore/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/castore/src/lib.rs b/tvix/castore/src/lib.rs
index 1a7ac6b4b4..6f5e683b40 100644
--- a/tvix/castore/src/lib.rs
+++ b/tvix/castore/src/lib.rs
@@ -9,6 +9,9 @@ pub mod fixtures;
 #[cfg(feature = "fs")]
 pub mod fs;
 
+mod path;
+pub use path::Path;
+
 pub mod import;
 pub mod proto;
 pub mod tonic;