Skip to main content

gated_programs

Function gated_programs 

Source
pub fn gated_programs<'a>(
    tools: &'a [DeclaredToolDownloads],
    shell_allow: &'a [String],
) -> impl Iterator<Item = (&'a DeclaredToolDownloads, &'a ProgramDownloads)> + 'a
Expand description

The programs of tools a session may run a pinned copy of, whatever the platform: only from a tool whose origin is LockOrigin::Operator, and only for a program key equal to an entry of shell_allow. Tools in the order given, programs in declaration order.