Skip to main content

encode_path

Function encode_path 

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

An absolute path as one file name: %, the drive colon, both separators and every other character a file name cannot hold on some OS are percent-encoded, so the original path is unambiguous on every OS (C%3A%5CUsers%5Cme%5C.claude.json).