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

Function ha_path_contains

src/cli/hook_augment.c:777–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777static bool ha_path_contains(const char *root, const char *candidate) {
778#ifdef _WIN32
779 return ha_path_contains_mode(root, candidate, true);
780#else
781 return ha_path_contains_mode(root, candidate, false);
782#endif
783}
784
785static char *ha_registry_project_for_path(cbm_mcp_server_t *srv, const char *cwd, char *root_out,
786 size_t root_out_size) {

Callers 2

ha_resolve_coverageFunction · 0.85

Calls 1

ha_path_contains_modeFunction · 0.85

Tested by

no test coverage detected