Module git_repository::env

source ·
Expand description

Utilities to handle program arguments and other values of interest.

Functions

Returns the name of the agent for identification towards a remote server as statically known when compiling the crate. Suitable for both git servers and HTTP servers, and used unless configured otherwise.
args_osNon-Apple
Equivalent to std::env::args_os(), but with precomposed unicode on MacOS and other apple platforms.
Convert the given input into a BString, useful as #[clap(parse(try_from_os_str = git::env::os_str_to_bstring))] function.