Skip to main content

parse_diff

Function parse_diff 

Source
pub fn parse_diff(file_path: &str, before: &str, after: &str) -> Vec<UcmEvent>
Expand description

Compare before/after source code and emit change events.

Classifies changes semantically:

  • Signature changes (function parameters, return types)
  • Body changes (implementation details)
  • New/removed entities
  • Import changes