MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / enabled_env_value

Function enabled_env_value

crates/openshell-core/src/telemetry.rs:310–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308
309#[cfg(feature = "telemetry")]
310pub fn enabled_env_value() -> &'static str {
311 enabled_env_value_from(std::env::var("OPENSHELL_TELEMETRY_ENABLED").ok().as_deref())
312}
313
314/// Telemetry support is compiled out: report disabled so sandbox supervisors
315/// inherit the disabled state and skip activity collection.

Callers 4

build_envFunction · 0.85
build_environmentFunction · 0.85
build_guest_environmentFunction · 0.85
apply_required_envFunction · 0.85

Calls 1

enabled_env_value_fromFunction · 0.85

Tested by

no test coverage detected