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

Function emit_activity

crates/openshell-supervisor-network/src/proxy.rs:346–350  ·  view source on GitHub ↗
(tx: &Option<ActivitySender>, denied: bool, deny_group: &'static str)

Source from the content-addressed store, hash-verified

344}
345
346fn emit_activity(tx: &Option<ActivitySender>, denied: bool, deny_group: &'static str) {
347 if let Some(tx) = tx {
348 let _ = try_record_activity(tx, denied, deny_group);
349 }
350}
351
352fn l7_inspection_active(l7_route: Option<&L7RouteSnapshot>) -> bool {
353 l7_route.is_some_and(|route| !route.configs.is_empty())

Callers 2

handle_tcp_connectionFunction · 0.70

Calls 1

try_record_activityFunction · 0.85

Tested by

no test coverage detected