diff --git a/app/src-tauri/src/marketplace/catalog.rs b/app/src-tauri/src/marketplace/catalog.rs
index 482d3e9..64127d5 100644
--- a/app/src-tauri/src/marketplace/catalog.rs
+++ b/app/src-tauri/src/marketplace/catalog.rs
@@ -10,7 +10,7 @@
use sha2::{Digest, Sha256};
-use crate::marketplace::tree::{hex, EntryKind, TreeView};
+use crate::marketplace::tree::{describe_size, hex, EntryKind, ReadError, TreeView};
use crate::models::marketplace::{is_valid_item_key, CatalogItem, ItemKind};
pub const MAX_ITEM_BYTES: u64 = 2 * 1024 * 1024;
@@ -115,8 +115,9 @@ fn truncate_preview(text: &str) -> String {
format!("{}\n…(truncated)", &text[..cut])
}
-fn read_utf8(tree: &dyn TreeView, path: &str) -> Result