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

Function do_extract

tests/test_parse_coverage.c:42–44  ·  view source on GitHub ↗

Convenience extract wrapper (same shape as test_extraction_imports.c). */

Source from the content-addressed store, hash-verified

40
41/* Convenience extract wrapper (same shape as test_extraction_imports.c). */
42static CBMFileResult *do_extract(const char *src, CBMLanguage lang, const char *path) {
43 return cbm_extract_file(src, (int)strlen(src), lang, "covproj", path, 0, NULL, NULL);
44}
45
46/* Return 1 if any extracted definition has the given short name. */
47static int has_def(CBMFileResult *r, const char *name) {

Callers 3

extract_sql_fullFunction · 0.70
extract_dumpFunction · 0.70

Calls 1

cbm_extract_fileFunction · 0.85

Tested by

no test coverage detected