pub fn parse(path: String) -> PathBuf
Converts a path string into a PathBuf, expanding a leading ~ to the user’s home directory.
PathBuf
~