(args: &ProofCacheArgs)
| 14 | } |
| 15 | |
| 16 | fn handle_proof_cache_command(args: &ProofCacheArgs) -> anyhow::Result<()> { |
| 17 | match &args.command { |
| 18 | ProofCacheCommands::Inspect { db_path } => inspect_cache(db_path), |
| 19 | ProofCacheCommands::Stats { db_path } => show_stats(db_path), |
| 20 | ProofCacheCommands::Get { |
| 21 | db_path, |
| 22 | instance_id, |
| 23 | } => get_proof(db_path, *instance_id), |
| 24 | ProofCacheCommands::Clear { db_path } => clear_cache(db_path), |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | fn inspect_cache(db_path: &PathBuf) -> anyhow::Result<()> { |
| 29 | println!("=== Proof Cache Inspection ==="); |
nothing calls this directly
no test coverage detected