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

Function sh_mark

src/pipeline/pass_shell.c:477–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477static sh_mark_t sh_mark(const sh_t *s) {
478 return (sh_mark_t){s->nundo, s->cwd, s->ndirs};
479}
480
481static bool sh_cwd_same(sh_cwd_t a, sh_cwd_t b) {
482 return a.mode == b.mode && (a.mode != SH_AT || strcmp(a.dir, b.dir) == 0);

Callers 8

sh_walk_substsFunction · 0.85
sh_pipelineFunction · 0.85
sh_listFunction · 0.85
sh_ifFunction · 0.85
sh_caseFunction · 0.85
sh_loopFunction · 0.85
sh_functionFunction · 0.85
sh_walkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected