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

Function cbm_language_classify

src/discover/language.c:1689–1693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1687}
1688
1689CBMLanguage cbm_language_classify(const char *filename, const unsigned char *head, size_t head_len,
1690 bool more, bool readable) {
1691 return cbm_language_classify_with(cbm_get_user_lang_config(), filename, head, head_len, more,
1692 readable);
1693}
1694
1695CBMLanguage cbm_language_for_file(const char *filename, const char *path) {
1696 size_t probe = cbm_language_probe_bytes(filename);

Callers 4

cbm_language_for_fileFunction · 0.85
tic_expectedFunction · 0.85
classify_contentFunction · 0.85
test_language.cFile · 0.85

Calls 2

cbm_get_user_lang_configFunction · 0.85

Tested by 2

tic_expectedFunction · 0.68
classify_contentFunction · 0.68