Skip to main content

eligible

Function eligible 

Source
pub fn eligible(
    pane_pid: u32,
    pane_tty: &Path,
    mappings: &[HarnessMapping],
) -> Result<Decision>
Expand description

Inspect the pane’s actual foreground job, without hooks or process environments. Unsupported/ambiguous jobs return a negative decision. OS/race/resource failures return an error, which the caller must treat as ineligible as well.