From 959c50c4ac7df882c22306610fcb8b26cdf0fcf5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 1 May 2024 12:53:09 +0300 Subject: feat(tvix/castore/path): add Path{Buf} 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 --- tvix/castore/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tvix/castore/src/lib.rs') diff --git a/tvix/castore/src/lib.rs b/tvix/castore/src/lib.rs index 1a7ac6b4b415..6f5e683b4047 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; -- cgit 1.4.1