Skip to main content

link_encode

Function link_encode 

Source
pub fn link_encode(path: &str) -> String
Expand description

A path as a LikeC4 link target, which is an unquoted URI: every byte outside the unreserved set and / is percent-encoded, so a space or a quote in a directory name cannot break the parse.