pub fn has_suffix<P: AsRef<Path>>(path: P, suffix: &str) -> bool
Returns true if the filename at path ends with suffix.
path
suffix