Skip to main content

search

Function search 

Source
pub fn search(bytes: &[u8], needles: &[PathBuf]) -> Option<String>
Expand description

The first of needles that bytes hold, with either slash (or both) and in any case of its ASCII letters, as the needle is written. A path of fewer than two parts (/, C:\) is never looked for.