add a prune debug call to force a hard-prune of the pddb cache

This commit is contained in:
bunnie 2022-12-29 22:03:19 +08:00
parent 1e56598b10
commit 549e67fead

View file

@ -928,6 +928,11 @@ impl<'a> ShellCmdApi<'a> for PddbCmd {
}
}
#[cfg(not(target_os = "xous"))]
"prune" => {
self.pddb.dbg_prune().ok();
write!(ret, "Prune finished").ok();
}
#[cfg(not(target_os = "xous"))]
"rkyvtest" => {
use rkyv::{
archived_value,