about summary refs log tree commit diff
path: root/tvix/castore/src/import.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/castore/src/import.rs')
-rw-r--r--tvix/castore/src/import.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/castore/src/import.rs b/tvix/castore/src/import.rs
index 1b8c4ec5a54e..4545f35fc319 100644
--- a/tvix/castore/src/import.rs
+++ b/tvix/castore/src/import.rs
@@ -149,7 +149,7 @@ where
 /// It's up to the caller to possibly register it somewhere (and potentially
 /// rename it based on some naming scheme)
 #[instrument(skip(blob_service, directory_service), fields(path=?p), err)]
-pub async fn ingest_path<BS, DS, P>(
+pub async fn ingest_path<'a, BS, DS, P>(
     blob_service: BS,
     directory_service: DS,
     p: P,
@@ -157,7 +157,7 @@ pub async fn ingest_path<BS, DS, P>(
 where
     P: AsRef<Path> + Debug,
     BS: Deref<Target = dyn BlobService> + Clone,
-    DS: Deref<Target = dyn DirectoryService>,
+    DS: Deref<Target = &'a dyn DirectoryService>,
 {
     let mut directories: HashMap<PathBuf, Directory> = HashMap::default();