Skip to main content

is_safe_command

Function is_safe_command 

Source
pub fn is_safe_command(
    registry: &SafeCommandRegistry,
    command: &[String],
) -> bool
Expand description

Evaluates if a command is safe to execute. Returns true if the command passes all safety checks.