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

Function enabled

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

Source from the content-addressed store, hash-verified

297
298#[cfg(feature = "telemetry")]
299pub fn enabled() -> bool {
300 telemetry_enabled_from(std::env::var("OPENSHELL_TELEMETRY_ENABLED").ok().as_deref())
301}
302
303/// Telemetry support is compiled out: always disabled.
304#[cfg(not(feature = "telemetry"))]

Callers 2

emit_eventFunction · 0.85

Calls 1

telemetry_enabled_fromFunction · 0.85

Tested by

no test coverage detected