Function anonymize_file_with_anonymizer

Source
pub fn anonymize_file_with_anonymizer(
    path: &Path,
    export_path: &Path,
    anonymizer: &mut Anonymizer<'_>,
) -> Result<()>
Expand description

Anonymizes the formulas in a given file and saves it at export_path.

Anonymization replaces all variables names with {var_prefix}1, {var_prefix}2, … By doing so, the original semantics of the variable names gets lost/obscured.

By passing an Anonymizer, one can keep the relation of variables over multiple files.