Skip to main content

normalize

Function normalize 

Source
pub fn normalize(raw: &str) -> Result<String>
Expand description

Normalise a path for storage: NFC, forward slashes, relative, no ./.., no drive letters, no NUL/control characters, no : (NTFS alternate data streams), no Windows reserved names, no trailing spaces or dots in components, at most 4096 bytes.