Skip to main content

resolve_wire_path

Function resolve_wire_path 

Source
pub fn resolve_wire_path(root: &Path, wire: &str) -> Option<PathBuf>
Expand description

Resolve a wire path (relative, ‘/’-separated, escaped) against a root. Rejects traversal — the result always stays under the root.