[−][src]Module ritual_common::utils
Various utilities.
Structs
CommandOutput | |
ProgressBar |
Traits
Inspect | |
MapIfOk | Perform a map operation that can fail |
Functions
add_env_path_item | Reads environment variable |
add_to_multihash | Creates and empty collection at |
exe_suffix | Returns proper executable file suffix on current platform.
Returns |
get_command_output | Runs a command and returns its stdout if it was successful |
run_command | Runs a command and checks that it was successful |
run_command_and_capture_output | Runs a command and returns its output regardless of whether it was successful |