spin_common::ui

Function quoted_path

Source
pub fn quoted_path(path: impl AsRef<Path>) -> impl Display
Expand description

Renders a Path with double quotes. This is the standard for displaying paths in Spin. It is preferred to the Debug format because the latter doubles up backlashes on Windows.