pub fn validate_path_str(path_str: &str) -> Result<(), String>Expand description
Validates that a path string is non-empty and does not contain unsafe components.
This is for multi-segment filesystem paths (config dirs, output dirs). For a single
id/file stem, use validate_path_segment instead.