pub fn preview_patch(
file_path: &Path,
start: usize,
end: usize,
new_content: &str,
workspace_root: &Path,
language: Language,
analyzer_mode: AnalyzerMode,
) -> Result<(FilePatchSummary, PreviewReport)>Expand description
Preview a patch by cloning the workspace, applying the change, and validating there.