about summary refs log tree commit diff
path: root/tvix/castore/src
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/castore/src')
-rw-r--r--tvix/castore/src/import/archive.rs2
-rw-r--r--tvix/castore/src/import/fs.rs4
2 files changed, 4 insertions, 2 deletions
diff --git a/tvix/castore/src/import/archive.rs b/tvix/castore/src/import/archive.rs
index adcfb871d5e3..b13716f54f7f 100644
--- a/tvix/castore/src/import/archive.rs
+++ b/tvix/castore/src/import/archive.rs
@@ -1,3 +1,5 @@
+//! Imports from an archive (tarballs)
+
 use std::io::{Cursor, Write};
 use std::sync::Arc;
 use std::{collections::HashMap, path::PathBuf};
diff --git a/tvix/castore/src/import/fs.rs b/tvix/castore/src/import/fs.rs
index 6709d4a127e9..03a52f2ba073 100644
--- a/tvix/castore/src/import/fs.rs
+++ b/tvix/castore/src/import/fs.rs
@@ -1,3 +1,5 @@
+//! Import from a real filesystem.
+
 use futures::stream::BoxStream;
 use futures::StreamExt;
 use std::os::unix::fs::MetadataExt;
@@ -16,8 +18,6 @@ use super::upload_blob_at_path;
 use super::Error;
 use super::IngestionEntry;
 
-///! Imports that deal with a real filesystem.
-
 /// Ingests the contents at a given path into the tvix store, interacting with a [BlobService] and
 /// [DirectoryService]. It returns the root node or an error.
 ///