Skip to main content

truncate_path

Function truncate_path 

Source
pub fn truncate_path(path: &str, max_len: usize) -> String
Expand description

Truncate a path intelligently — shows the end (most relevant part).