pub fn relative(input: &str) -> Result<PathBuf, FolderError>Expand description
Turn a tool-supplied path into a clean path relative to the root folder.
"" and "." mean the root itself and return an empty path. Leading ./ and repeated
separators are dropped. Absolute paths (/etc, C:\x, \\server\share) and any ..
component are refused, even when the result would stay inside the root.