about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/store/src/import.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/tvix/store/src/import.rs b/tvix/store/src/import.rs
index 50c6b73109d7..f2e7bdfe5da3 100644
--- a/tvix/store/src/import.rs
+++ b/tvix/store/src/import.rs
@@ -1,9 +1,7 @@
 use std::path::Path;
-
-use data_encoding::BASE64;
 use tracing::{debug, instrument};
 use tvix_castore::{
-    blobservice::BlobService, directoryservice::DirectoryService, proto::node::Node,
+    blobservice::BlobService, directoryservice::DirectoryService, proto::node::Node, B3Digest,
 };
 
 use nix_compat::store_path::{self, StorePath};
@@ -19,7 +17,7 @@ pub fn log_node(node: &Node, path: &Path) {
             debug!(
                 path = ?path,
                 name = ?directory_node.name,
-                digest = BASE64.encode(&directory_node.digest),
+                digest = %B3Digest::try_from(directory_node.digest.clone()).unwrap(),
                 "import successful",
             )
         }
@@ -27,7 +25,7 @@ pub fn log_node(node: &Node, path: &Path) {
             debug!(
                 path = ?path,
                 name = ?file_node.name,
-                digest = BASE64.encode(&file_node.digest),
+                digest = %B3Digest::try_from(file_node.digest.clone()).unwrap(),
                 "import successful"
             )
         }