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

Function sh_hit

src/pipeline/pass_shell.c:1327–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1325}
1326
1327static void sh_hit(sh_t *s, TSNode cmd, const char *via, const sh_target_t *t, const char *ext,
1328 bool chart) {
1329 sh_hit_push(s, cmd,
1330 (sh_hit_t){.via = via,
1331 .tgt = t ? t->id : 0,
1332 .ext = ext,
1333 .path = t ? t->path : ext,
1334 .chart = chart});
1335}
1336
1337static void sh_hit_all(sh_t *s, TSNode cmd, const char *via, const sh_targets_t *ts, bool chart) {
1338 for (int i = 0; i < ts->count; i++) {

Callers 2

sh_hit_allFunction · 0.85
sh_chartFunction · 0.85

Calls 1

sh_hit_pushFunction · 0.85

Tested by

no test coverage detected