pub fn local_path(path: &str, base: &Path) -> PathBuf
A local source as an absolute path: ~ expands, file:// URLs convert, and relative paths resolve against base.
~
file://
base