normalize_path_for_sandbox

Function normalize_path_for_sandbox 

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

Normalize a path for sandbox use.

  • Expands ~ to home directory
  • Resolves to canonical path if possible
  • Returns the normalized path string