Function latin::file::has_extension [] [src]

pub fn has_extension<P: AsRef<Path>, S: AsRef<str>>(path: P, ext: S) -> bool

Checks to see if the file at path has the file extension ext.