Skip to main content

tildify

Function tildify 

Source
pub fn tildify(path: &Path, home: Option<&Path>) -> String
Expand description

Render path with the user’s home directory collapsed to ~/. Falls back to the full display() form when the path isn’t under home or when home is None.