Reads the `TRACEDECAY_ ` environment variable.
(suffix: &str)
| 390 | |
| 391 | /// Reads the `TRACEDECAY_<suffix>` environment variable. |
| 392 | pub fn brand_env(suffix: &str) -> Option<String> { |
| 393 | std::env::var(format!("TRACEDECAY_{suffix}")).ok() |
| 394 | } |
| 395 | |
| 396 | /// Returns the path to the configuration file (`config.json`) within the |
| 397 | /// resolved data directory. |
no outgoing calls
no test coverage detected