pub fn filename_contains<P: AsRef<Path>>(path: P, needle: &str) -> bool
Returns true if the filename at path contains needle.
path
needle