Skip to main content

search_text_in

Function search_text_in 

Source
pub fn search_text_in(
    item: &Item,
    folders: &FolderIndex,
    query_len: usize,
    scope: &SearchScope,
) -> String
Expand description

The lower-cased text Eagle searches for an item: its text content (text, kept for text files) and camera (rawMetas.camera), then, as scope allows, the name, .ext, url (for queries of two or more characters), note and comments; a font’s full name (the zh entry first, else en) and, for queries of three or more characters, its whole fontMetas as JSON; then tags and the name and description of each folder the item is in.