pub fn discard_line( repo_path: &Path, file_path: &str, hunk: &[DiffLine], selected_line_idx: usize, ) -> Result<(), String>
Discard a single line from the Unstaged diff in the working tree.