Skip to main content

compute_target_path

Function compute_target_path 

Source
pub fn compute_target_path(
    rule: &RedirectionRule,
    rel_key: &str,
) -> Option<PathBuf>
Expand description

Computes the full target path for a redirected file. Returns None if the rule has no target configured, there’s nothing to compute a path against.