Function fixture::find::first [] [src]

pub fn first<F>(directory: &Path, condition: F) -> Option<PathBuf> where F: Fn(&Path) -> bool

Look for the first file satisfying a condition.