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

Function extract

tests/test_extraction.c:113–117  ·  view source on GitHub ↗

Convenience: extract, assert no error, return result. Caller frees. */

Source from the content-addressed store, hash-verified

111
112/* Convenience: extract, assert no error, return result. Caller frees. */
113static CBMFileResult *extract(const char *src, CBMLanguage lang, const char *proj,
114 const char *path) {
115 CBMFileResult *r = cbm_extract_file(src, (int)strlen(src), lang, proj, path, 0, NULL, NULL);
116 return r;
117}
118
119/* As extract(), but threads an ObjectScript macro table through. */
120static CBMFileResult *extract_with_macros(const char *src, CBMLanguage lang, const char *proj,

Calls 1

cbm_extract_fileFunction · 0.85

Tested by

no test coverage detected