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

Function pipeline_namespace_payload_json

tests/test_pipeline.c:20806–20815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20804}
20805
20806static char *pipeline_namespace_payload_json(const char *json) {
20807 yyjson_doc *doc = json ? yyjson_read(json, strlen(json), 0) : NULL;
20808 if (!doc) {
20809 return NULL;
20810 }
20811 yyjson_val *payload = yyjson_obj_get(yyjson_doc_get_root(doc), "py");
20812 char *copy = payload ? yyjson_val_write(payload, 0, NULL) : NULL;
20813 yyjson_doc_free(doc);
20814 return copy;
20815}
20816
20817TEST(pipeline_python_namespace_codec_owns_ordered_facts) {
20818 const char *source = "def plain(value):\n return value\n"

Callers 1

test_pipeline.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected