We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discovered when writing some logic that checks for the presence of an environment variable, rather than the value.
You could in theory do something like
# In bash/zsh export IGN_ENV_VAR="" # and then in C++ ignition::common::env("IGN_ENV_VAR", foo) # returns FALSE, but should be TRUE
This is completely valid (at least on Posix systems, unsupported on Windows)
Ref: https://github.com/ignitionrobotics/ign-common/blob/526c2aceb847dcdbfc2d25fc72457caaece03d3c/src/Util.cc#L328-L333
The text was updated successfully, but these errors were encountered:
Close by #97
Sorry, something went wrong.
mjcarroll
No branches or pull requests
Discovered when writing some logic that checks for the presence of an environment variable, rather than the value.
You could in theory do something like
This is completely valid (at least on Posix systems, unsupported on Windows)
Ref: https://github.com/ignitionrobotics/ign-common/blob/526c2aceb847dcdbfc2d25fc72457caaece03d3c/src/Util.cc#L328-L333
The text was updated successfully, but these errors were encountered: