Skip to main content

join

Function join 

Source
pub fn join(dir: &str, link: &str) -> Option<String>
Expand description

A link read from the folder dir: docs/adr and ../x/./y.md give docs/x/y.md; None when it climbs above the root. Only the link is cleaned up; dir is taken as given.