pub fn apply_patch_file_with_replace_all(
patch_text: &str,
cwd: &Path,
mode: ApplyMode,
guard: Option<&PathGuard>,
replace_all: bool,
) -> Result<Vec<EditResult>>Expand description
Like apply_patch_file, with replace_all for SEARCH/REPLACE documents.
false keeps unique apply. true updates every exact match. Unified
diffs and Begin Patch reject true (invalid_input, no write).