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

Function sh_pipeline

src/pipeline/pass_shell.c:2587–2592  ·  view source on GitHub ↗

A pipeline: every element runs in a subshell; a kustomize build or helm * template feeds the kubectl that reads the pipe. */

Source from the content-addressed store, hash-verified

2585/* A pipeline: every element runs in a subshell; a kustomize build or helm
2586 * template feeds the kubectl that reads the pipe. */
2587static void sh_pipeline(sh_t *s, TSNode n) {
2588 sh_mark_t m = sh_mark(s);
2589 sh_src_t src = {SH_SRC_NONE, NULL, NULL};
2590 sh_pipe_run(s, n, &src);
2591 sh_rewind(s, m);
2592}
2593
2594/* a && b || c: the first runs, the rest only maybe. */
2595static void sh_list(sh_t *s, TSNode n) {

Callers 1

sh_walkFunction · 0.85

Calls 3

sh_markFunction · 0.85
sh_pipe_runFunction · 0.85
sh_rewindFunction · 0.85

Tested by

no test coverage detected