pub fn component_for_path(
path: &str,
candidates: &[ComponentCandidate],
) -> StringExpand description
Determine the component for a path: longest matching dir prefix wins.
Returns a String (candidate names are owned).
pub fn component_for_path(
path: &str,
candidates: &[ComponentCandidate],
) -> StringDetermine the component for a path: longest matching dir prefix wins.
Returns a String (candidate names are owned).