Skip to main content

apply_search_replace_document

Function apply_search_replace_document 

Source
pub fn apply_search_replace_document(
    input: &str,
    cwd: &Path,
    opts: &ApplySearchReplaceOptions,
    mode: ApplyMode,
    guard: Option<&PathGuard>,
) -> Result<Vec<EditResult>>
Expand description

Parse then apply a SEARCH/REPLACE or DiffFenced document.