pub fn absolute_path(path: &str) -> Result<String>
Resolves path to an absolute path, expanding ~ and relative segments according to cpdb-libs’ rules.
path
~