Skip to main content

expand_home

Function expand_home 

Source
pub fn expand_home(path: &str) -> PathBuf
Expand description

Expands a leading ~ to the home folder (USERPROFILE on Windows): “/Notes”, and “\Notes” as Windows writes it.