gix

Module env

Source
Expand description

Utilities to handle program arguments and other values of interest.

Modules§

  • Utilities to collate errors of common operations into one error type.

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.
  • Equivalent to std::env::args_os(), but with precomposed unicode on MacOS and other apple platforms. It does not change the input arguments on any other platform.
  • Like args_os(), but with the precompose_unicode parameter akin to core.precomposeUnicode in the Git configuration.
  • Convert the given input into a BString, useful for usage in clap.