Skip to main content

prepend_dedup

Function prepend_dedup 

Source
pub fn prepend_dedup(dir: &Path, current: &OsStr) -> OsString
Expand description

dir prepended to current, with any pre-existing occurrence of dir removed (dedupe, so nested dejavu start doesn’t stack shim dirs).