parse_path

Function parse_path 

Source
pub fn parse_path(path: &str) -> Vec<PathComponent>
Expand description

将路径字符串解析为组件列表

参数: - path: 待解析的路径字符串(支持绝对路径和相对路径)

返回:路径组件向量,包含 Root、Current、Parent 或 Normal 组件