Skip to main content

named_by_source

Function named_by_source 

Source
pub fn named_by_source(message: &str, file: &Path, source: &Path) -> String
Expand description

message with file (a temp copy datui made: a download, a decompressed CSV) renamed source, what the user opened. Only whole mentions are replaced (no path character on either side, though a sentence’s full stop may follow), so longer paths sharing the name are untouched.