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

Function cbm_extract_file

internal/cbm/cbm.c:1156–1163  ·  view source on GitHub ↗

Public entry: run the extraction and journal completion. The DONE mark on * every ordinary return (including error/timeout results) tells the crash * supervisor this file did NOT kill the worker — only a file whose S has no * D is a crash/hang suspect. */

Source from the content-addressed store, hash-verified

1154 * supervisor this file did NOT kill the worker — only a file whose S has no
1155 * D is a crash/hang suspect. */
1156CBMFileResult *cbm_extract_file(const char *source, int source_len, CBMLanguage language,
1157 const char *project, const char *rel_path, int64_t timeout_micros,
1158 const char **extra_defines, const char **include_paths) {
1159 CBMFileResult *r =
1160 cbm_extract_file_ex(source, source_len, language, project, rel_path, timeout_micros,
1161 extra_defines, include_paths, NULL, NULL);
1162 return r;
1163}
1164
1165CBMFileResult *cbm_extract_file_ex(const char *source, int source_len, CBMLanguage language,
1166 const char *project, const char *rel_path,

Callers 15

handle_kustomizeFunction · 0.85
handle_k8s_manifestFunction · 0.85
cbm_pipeline_pass_usagesFunction · 0.85
sem_get_or_extractFunction · 0.85
run_inherit_caseFunction · 0.85
run_rust_implFunction · 0.85
extract_kotlinFunction · 0.85
extract_kotlin_pathFunction · 0.85
extractFunction · 0.85
cov_extractFunction · 0.85
extract_javaFunction · 0.85

Calls 1

cbm_extract_file_exFunction · 0.85

Tested by 15

run_inherit_caseFunction · 0.68
run_rust_implFunction · 0.68
extract_kotlinFunction · 0.68
extract_kotlin_pathFunction · 0.68
extractFunction · 0.68
cov_extractFunction · 0.68
extract_javaFunction · 0.68
extract_java_atFunction · 0.68
extractFunction · 0.68
so_extract_crashesFunction · 0.68
extract_perlFunction · 0.68
extract_oneFunction · 0.68