Skip to main content

mutate_path_prefix

Function mutate_path_prefix 

Source
pub fn mutate_path_prefix(
    path_and_query: &str,
    strategy: PathPrefixStrategy,
) -> (String, &'static str)
Expand description

Apply a path-prefix mutation to a path-and-query string. Returns the mutated form and the technique label.

Wraps PathPrefixStrategy::apply with the label that the gene-bank and --techniques flag downstream consume.