Skip to main content

shown_name

Function shown_name 

Source
pub fn shown_name(file: &str) -> String
Expand description

A filename as printed. On a terminal the reference quotes it, so a name with a space or a newline in it cannot be misread; piped, it prints the name raw, which is what a script downstream needs.