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

Function sh_cwd_same

src/pipeline/pass_shell.c:481–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
483}
484
485static void sh_rewind(sh_t *s, sh_mark_t m) {
486 while (s->nundo > m.undo) {

Callers 2

sh_clause_endFunction · 0.85
sh_functionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected