Skip to main content

remove_decorators_from_file

Function remove_decorators_from_file 

Source
pub fn remove_decorators_from_file(
    file_path: &str,
    before_version: Option<&str>,
    remove_all: bool,
    write: bool,
    current_version: Option<&str>,
) -> Result<(usize, String)>
Expand description

Remove functions decorated with @replace_me from a file