Skip to main content

check

Function check 

Source
pub fn check(name: &str, args: &[String]) -> Result<bool, ExecError>
Expand description

Ported from the package-level check function, with no deadline. See check_with_timeout for the deviation that threads one through explicitly (Go’s version takes a deadline via the ambient context.Context argument every caller already has).