Is there an executable file at the given path?
A small helper function which determines whether or not the given path points to
an executable file. If there is no file at the given path, or the file is not
false is returned. When there is a file and the file is
true is returned.
This crate works on both unix-based operating systems (mac, linux, freebsd, etc.) and Windows.
The API comes in two flavors:
An extension trait to add an
use Path; use IsExecutable;
For convenience, a standalone
is_executablefunction, which takes any
use Path; use is_executable;