Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Drop the unused ImageCache inspection methods

Hamzaa30744fed11f
diff --git a/crates/engine/src/cmd/datamerge/fill.rs b/crates/engine/src/cmd/datamerge/fill.rs
index 965e87bd7..9b0a07c24 100644
--- a/crates/engine/src/cmd/datamerge/fill.rs
+++ b/crates/engine/src/cmd/datamerge/fill.rs
@@ -172,15 +172,6 @@ impl ImageCache {
}
Some(bytes)
}
-
- /// How many distinct files this merge has read, for the tests.
- pub fn len(&self) -> usize {
- self.inner.borrow().files.len()
- }
-
- pub fn is_empty(&self) -> bool {
- self.len() == 0
- }
}
/// Replacements and hyperlinks collected while walking the placeholders of one record.