Skip to main content

is_command_resolvable

Function is_command_resolvable 

Source
pub fn is_command_resolvable(path: &Path) -> bool
Expand description

Returns true if the given command path is resolvable as an executable.

Paths containing separators are validated directly, while bare command names are searched in PATH.