Skip to main content
resolve_shell_path
strat9_
kernel
0.1.0
In strat9_
kernel::
shell::
commands::
vfs
strat9_kernel
::
shell
::
commands
::
vfs
Function
resolve_
shell_
path
Copy item path
Source
pub fn resolve_shell_path(path: &
str
) ->
String
Expand description
Resolve
path
relative to the shell CWD.
Empty or
""
→ current directory.
Starts with
/
→ treated as absolute (normalized).
Otherwise → joined with CWD and normalized.