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

Function is_source_key

internal/cbm/extract_unified.c:709–714  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

707
708/* Source key names (topic/queue/schedule identifier) */
709static int is_source_key(const char *key) {
710 return (strcmp(key, "topic") == 0 || strcmp(key, "queue") == 0 ||
711 strcmp(key, "queue_name") == 0 || strcmp(key, "subscription") == 0 ||
712 strcmp(key, "subject") == 0 || strcmp(key, "channel") == 0 ||
713 strcmp(key, "stream") == 0);
714}
715
716/* Target key names (endpoint URL) */
717static int is_target_key(const char *key) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected