diff options
author | Florian Klink <flokli@flokli.de> | 2024-03-20T21·28+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-03-24T17·42+0000 |
commit | 5f069a3eb8c3a089f1231bf4a618e4153736df96 (patch) | |
tree | d68eef9c5dde6991483a331e50dcfb62ae8a0507 /tvix/castore/src/directoryservice/memory.rs | |
parent | c92ef2df64f4013e72037cefb548f68d158488cc (diff) |
refactor(tvix/castore/directory): have SimplePutter use Validator r/7773
This simplifies a bunch of code, and gets rid of some TODOs. Also, move it out of castore/utils, and into its own file. Change-Id: Ie63e05a6cdfb2a73e878cf7107f9172aed1cdf13 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11224 Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/castore/src/directoryservice/memory.rs')
-rw-r--r-- | tvix/castore/src/directoryservice/memory.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/castore/src/directoryservice/memory.rs b/tvix/castore/src/directoryservice/memory.rs index 528ffe2f2c03..2cbbbd1b1657 100644 --- a/tvix/castore/src/directoryservice/memory.rs +++ b/tvix/castore/src/directoryservice/memory.rs @@ -5,8 +5,8 @@ use std::sync::{Arc, RwLock}; use tonic::async_trait; use tracing::{instrument, warn}; -use super::utils::{traverse_directory, SimplePutter}; -use super::{DirectoryPutter, DirectoryService}; +use super::utils::traverse_directory; +use super::{DirectoryPutter, DirectoryService, SimplePutter}; #[derive(Clone, Default)] pub struct MemoryDirectoryService { |