From 8414f96f27b059c4536ae67ddfce18dec54e7451 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 26 Oct 2026 20:48:08 +0100 Subject: add remake stats --- src/remake/local.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/remake/local.rs') diff --git a/src/remake/local.rs b/src/remake/local.rs index fd7c567..60f7184 100644 --- a/src/remake/local.rs +++ b/src/remake/local.rs @@ -379,6 +379,11 @@ impl RemakeState { self.lock().quarantine.push(quarantined); } + /// How many old epochs are archived. + pub(crate) fn archived_count(&self) -> usize { + self.lock().archive.len() + } + pub(crate) fn archived_epochs(&self) -> Vec { self.lock() .archive -- cgit v1.3.1