Skip to main content

home_relative

Function home_relative 

Source
fn home_relative(path: &str, home: Option<&Path>) -> String
Expand description

A path under home as ~/… (forward slashes); anything else unchanged.