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

Function ha_obj_str

src/cli/hook_augment.c:215–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213/* ── JSON helpers ─────────────────────────────────────────────────── */
214
215static const char *ha_obj_str(yyjson_val *obj, const char *key) {
216 yyjson_val *v = obj ? yyjson_obj_get(obj, key) : NULL;
217 return (v && yyjson_is_str(v)) ? yyjson_get_str(v) : NULL;
218}
219
220static bool ha_is_utf8_continuation(unsigned char ch) {
221 return (ch & 0xc0U) == 0x80U;

Callers 9

ha_format_contextFunction · 0.85
ha_coverage_contextFunction · 0.85
ha_hook_event_nameFunction · 0.85
ha_normalized_tool_pathFunction · 0.85
ha_active_tierFunction · 0.85
ha_processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected