⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

normalize_path

Function normalize_path 

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

Normalize a path by collapsing redundant separators and resolving . and ...

The result is always an absolute path starting with /. Trailing slashes are removed (except for the root / itself).