Skip to main content

parse_entry

Function parse_entry 

Source
pub fn parse_entry(
    path: &Path,
    text: &str,
    is_installed: &dyn Fn(&str) -> bool,
) -> Option<App>
Expand description

Reads one desktop entry. None when it has no Name=, or when it asks not to be shown (NoDisplay=true, Hidden=true) — those are entries the desktop itself keeps out of menus, and a chooser is a menu.