Skip to main content

transform_file

Function transform_file 

Source
pub fn transform_file(
    from: &Path,
    to: &Path,
    file_header: &str,
    filter: &dyn Fn(&str, &str) -> bool,
    transform: &dyn Fn(&str) -> Cow<'_, str>,
    check: bool,
    verbose: bool,
) -> bool