path_to_string

Function path_to_string 

Source
pub fn path_to_string(path: &Path) -> String
Expand description

Safely converts a path to a string, handling non-UTF-8 paths gracefully.

Uses lossy conversion (replacement character � for invalid UTF-8).