pub fn resolve_homedir<'a, S>(path: &'a S) -> Cow<'a, Path>where S: AsRef<Path> + ?Sized,
polars-io
Replaces a “~” in the Path with the home directory.