run_make_support::path_helpers

Function has_extension

Source
pub fn has_extension<P: AsRef<Path>>(path: P, extension: &str) -> bool
Expand description

Returns true if the filename at path has the extension extension.