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

Function ws_match_visit

src/foundation/workspace.c:439–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437} ws_match_t;
438
439static bool ws_match_visit(const char *root, bool sensitive, void *ctx) {
440 ws_match_t *m = ctx;
441 if (cbm_path_within_root(root, m->candidate)) {
442 m->contained = true;
443 if (sensitive && ws_paths_equal(root, m->candidate)) {
444 m->exact_sensitive = true;
445 }
446 }
447 return false; /* visit every entry: a later one may be the exact match */
448}
449
450typedef struct {
451 char *out;

Callers

nothing calls this directly

Calls 2

cbm_path_within_rootFunction · 0.85
ws_paths_equalFunction · 0.85

Tested by

no test coverage detected