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

Function sh_basename

src/pipeline/pass_shell.c:97–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static const char *sh_basename(const char *p) {
98 const char *s = strrchr(p, '/');
99 return s ? s + SKIP_ONE : p;
100}
101
102static bool sh_eq(const char *a, const char *b) {
103 return a && b && strcmp(a, b) == 0;

Callers 11

sh_manifest_extFunction · 0.85
sh_index_buildFunction · 0.85
sh_t_foundFunction · 0.85
sh_programFunction · 0.85
sh_findFunction · 0.85
sh_deploy_commandFunction · 0.85
sh_spawn_scriptFunction · 0.85
sh_spawnFunction · 0.85
sh_httpFunction · 0.85
sh_buildFunction · 0.85
sh_makefileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected