Skip to main content

resolve_shell_path

Function resolve_shell_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.