diff options
author | Florian Klink <flokli@flokli.de> | 2023-05-14T11·49+0300 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-05-18T06·26+0000 |
commit | a1324513ad8c6d8b9cce2881fe90b890541a9b77 (patch) | |
tree | 329fdcd152ce2b750d46e79a935fc08c65685672 /tvix/store/src/directoryservice/mod.rs | |
parent | 3a4e29c26141a24caa71a0dbaf40a6f8d1c2adef (diff) |
feat(tvix/store/directorysvc): add traverse_to r/6150
This walks from a node further down until it reaches the requested path. Change-Id: I2f9a15a8601db4d06c95d7b47cd6153264e203e3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8568 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src/directoryservice/mod.rs')
-rw-r--r-- | tvix/store/src/directoryservice/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/store/src/directoryservice/mod.rs b/tvix/store/src/directoryservice/mod.rs index 05feb85d4e7b..e8f11269ec1d 100644 --- a/tvix/store/src/directoryservice/mod.rs +++ b/tvix/store/src/directoryservice/mod.rs @@ -2,11 +2,13 @@ use crate::{proto, Error}; mod grpc; mod memory; mod sled; +mod traverse; mod utils; pub use self::grpc::GRPCDirectoryService; pub use self::memory::MemoryDirectoryService; pub use self::sled::SledDirectoryService; +pub use self::traverse::traverse_to; pub use self::utils::DirectoryTraverser; /// The base trait all Directory services need to implement. |