Skip to main content

format_path

Function format_path 

Source
pub fn format_path(path: &Path, options: &PrintOptions) -> String
Expand description

Formats path per options: absolute if options.full_paths, relative to options.base_path if set, else as-is.