about summary refs log tree commit diff
path: root/tvix/store/src/store_io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/store_io.rs')
-rw-r--r--tvix/store/src/store_io.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/tvix/store/src/store_io.rs b/tvix/store/src/store_io.rs
index e4c45f9e5952..a7467362d334 100644
--- a/tvix/store/src/store_io.rs
+++ b/tvix/store/src/store_io.rs
@@ -96,7 +96,7 @@ impl<BS: BlobService, DS: DirectoryService, PS: PathInfoService, NCS: NARCalcula
             }
         };
 
-        directoryservice::traverse_to(&mut self.directory_service, root_node, sub_path)
+        directoryservice::traverse_to(&self.directory_service, root_node, sub_path)
     }
 
     /// Imports a given path on the filesystem into the store, and returns the
@@ -110,9 +110,8 @@ impl<BS: BlobService, DS: DirectoryService, PS: PathInfoService, NCS: NARCalcula
         path: &std::path::Path,
     ) -> Result<crate::proto::PathInfo, io::Error> {
         // Call [import::ingest_path], which will walk over the given path and return a root_node.
-        let root_node =
-            import::ingest_path(&mut self.blob_service, &mut self.directory_service, path)
-                .expect("error during import_path");
+        let root_node = import::ingest_path(&self.blob_service, &self.directory_service, path)
+            .expect("error during import_path");
 
         // Render the NAR
         let (nar_size, nar_sha256) = self