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

Function sh_in

src/pipeline/pass_shell.c:1343–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1341}
1342
1343static bool sh_in(const char *v, const char *const *set) {
1344 for (int i = 0; v && set[i]; i++) {
1345 if (strcmp(v, set[i]) == 0) {
1346 return true;
1347 }
1348 }
1349 return false;
1350}
1351
1352static bool sh_numberish(const char *v) {
1353 if (!v[0] || v[0] < '0' || v[0] > '9') {

Callers 7

sh_programFunction · 0.85
sh_kubectl_parseFunction · 0.85
sh_helmFunction · 0.85
sh_spawn_scriptFunction · 0.85
sh_spawnFunction · 0.85
sh_http_url_optionFunction · 0.85
sh_buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected