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

Function is_source_key

internal/cbm/extract_unified.c:1672–1677  ·  view source on GitHub ↗

Source key names (topic/queue/schedule identifier) */

Source from the content-addressed store, hash-verified

1670
1671/* Source key names (topic/queue/schedule identifier) */
1672static int is_source_key(const char *key) {
1673 return (strcmp(key, "topic") == 0 || strcmp(key, "queue") == 0 ||
1674 strcmp(key, "queue_name") == 0 || strcmp(key, "subscription") == 0 ||
1675 strcmp(key, "subject") == 0 || strcmp(key, "channel") == 0 ||
1676 strcmp(key, "stream") == 0);
1677}
1678
1679/* Target key names (endpoint URL) */
1680static int is_target_key(const char *key) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected