Skip to main content

replace_in_symbol_file

Function replace_in_symbol_file 

Source
pub fn replace_in_symbol_file(
    path: &Path,
    symbol_name: &str,
    from: &str,
    to: &str,
    regex: bool,
    lang_hint: Option<Language>,
) -> Result<Option<ScopedReplaceResult>>
Expand description

Replace text within a symbol in a file.