aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/local.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-26 20:48:08 +0100
committertv <tv@krebsco.de>2026-10-26 20:48:08 +0100
commit46ed4dfebafdea6e6f6a42d106568438f057145c (patch)
treec9524f14c51946b66f84b55d93d9cfceebbe3781 /src/remake/local.rs
parent4077a3638dc6cae1c1f9e822579d2ed918ac36a5 (diff)
add remake stats
Diffstat (limited to 'src/remake/local.rs')
-rw-r--r--src/remake/local.rs5
1 files changed, 5 insertions, 0 deletions
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<ArchivedEpoch> {
self.lock()
.archive