MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / push_channel

Function push_channel

internal/cbm/extract_channels.c:237–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235/* ── Emit helper ─────────────────────────────────────────────────── */
236
237static void push_channel(CBMExtractCtx *ctx, const char *channel_name, const char *transport,
238 CBMChannelDirection direction, TSNode call) {
239 CBMChannel ch = {
240 .channel_name = channel_name,
241 .transport = transport,
242 .enclosing_func_qn = enclosing_function_qn(ctx, call),
243 .direction = direction,
244 };
245 cbm_channels_push(&ctx->result->channels, ctx->arena, ch);
246}
247
248/* ══════════════════════════════════════════════════════════════════
249 * JS/TS/TSX — Socket.IO, EventEmitter, WebSocket, Kafka, RabbitMQ

Callers 11

js_process_callFunction · 0.85
py_process_callFunction · 0.85
py_process_decoratorFunction · 0.85
go_process_callFunction · 0.85
java_process_callFunction · 0.85
java_process_annotationFunction · 0.85
csharp_process_callFunction · 0.85
ruby_process_callFunction · 0.85
elixir_emit_second_argFunction · 0.85
rust_process_callFunction · 0.85

Calls 2

enclosing_function_qnFunction · 0.85
cbm_channels_pushFunction · 0.85

Tested by

no test coverage detected