Skip to main content

contains

Function contains 

Source
pub fn contains(
    item: &Item,
    folder: &SmartFolder,
    ancestors: &[&SmartFolder],
    cx: &Context<'_>,
) -> bool
Expand description

Whether a live item is in a smart folder: it must pass the folder’s conditions and every ancestor’s. A folder without conditions shows the union of its children (nothing if it has none), as Eagle’s view does.