Expand description
Runtime module for diagnostics - contains OS-boundary code.
This module satisfies the dylint boundary-module check for code that uses std::env for system information.
Re-exports§
pub use crate::executor::ProcessExecutor;
Functions§
- get_
arch - Get the architecture.
- get_os
- Get the OS.
- get_
os_ info - Get the OS and architecture as a formatted string.
- get_
shell - Get the SHELL environment variable.
- get_
working_ directory - Get the current working directory.
- is_
git_ repo - Check if the current directory is a git repository.