MCPcopy Create free account
hub / github.com/git/git / child_is_sending_output

Function child_is_sending_output

run-command.c:1513–1520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1511 return child_is_working(pp_child) && pp_child->process.in > 0;
1512}
1513static int child_is_sending_output(const struct parallel_child *pp_child)
1514{
1515 /*
1516 * all pp children which buffer output through run_command via ungroup=0
1517 * redirect stdout to stderr, so we just need to check process.err.
1518 */
1519 return child_is_working(pp_child) && pp_child->process.err > 0;
1520}
1521
1522struct parallel_processes {
1523 size_t nr_processes;

Callers 1

pp_buffer_ioFunction · 0.85

Calls 1

child_is_workingFunction · 0.85

Tested by

no test coverage detected