Expand description
Functions for working with the host environment.
Structs§
Functions§
- binary_
exists - Checks if a binary with the given name exists.
- current_
working_ dir - Get the current working directory. This information is managed internally as the call to std::env::current_dir might fail if the cwd has been deleted.
- env_
var_ is_ set - Checks if the given environment variable is set.
- expand
- performs substitution of enviorment variables. Supports the following (POSIX) syntax:
- set_
current_ working_ dir - Update the current working directory.
- which
- Attempts to find a binary of the given name. See which.