Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ has_prefix
Function
has_prefix
internal/cbm/helpers.c:267–269 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
265
}
266
267
static bool has_prefix(const char *str, const char *prefix) {
268
return strncmp(str, prefix, strlen(prefix)) == 0;
269
}
270
271
// Extract basename from path
272
static const char *path_basename(const char *path) {
Callers
1
cbm_is_test_file
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected