Skip to main content

ps_quote

Function ps_quote 

Source
fn ps_quote(path: &Path) -> String
Expand description

path as a PowerShell single-quoted string: nothing in it is expanded (no $, no %VAR%). Every character PowerShell takes as a single quote is written twice: ' and the typographic ones (U+2018 to U+201B), which a user name can hold.