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

Function extract_one

tests/test_simhash.c:29–32  ·  view source on GitHub ↗

Extract a single file and return the result. Caller frees. */

Source from the content-addressed store, hash-verified

27
28/* Extract a single file and return the result. Caller frees. */
29static CBMFileResult *extract_one(const char *src, CBMLanguage lang, const char *proj,
30 const char *path) {
31 return cbm_extract_file(src, (int)strlen(src), lang, proj, path, 0, NULL, NULL);
32}
33
34/* Find a definition by name in an extraction result. */
35static const CBMDefinition *find_def(const CBMFileResult *r, const char *name) {

Callers 1

test_simhash.cFile · 0.85

Calls 1

cbm_extract_fileFunction · 0.85

Tested by

no test coverage detected