Skip to main content

calcit_cli/cli_handlers/
call_graph_diff.rs

1use crate::cli_args::CallGraphDiffCommand;
2
3pub fn handle_call_graph_diff_command(cmd: &CallGraphDiffCommand, snapshot_file: &str) -> Result<(), String> {
4  let result = crate::call_graph_diff::analyze_call_graph_diff(cmd, snapshot_file)?;
5  println!("{}", crate::call_graph_diff::format_call_graph_diff(&result));
6  Ok(())
7}