pub fn run_diff(
cli: &Cli,
base_ref: &str,
target_ref: &str,
path: Option<&str>,
max_results: usize,
kinds: &[String],
change_types: &[String],
) -> Result<()>Expand description
Run the diff command.
Compares symbols between two git refs by:
- Creating temporary git worktrees
- Building
CodeGraphs for each ref - Comparing graphs to detect changes
- Formatting and outputting results
ยงErrors
Returns error if:
- Not a git repository
- Git refs are invalid
- Graph building fails
- Output formatting fails