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

Function process_input

builtin/upload-archive.c:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74static ssize_t process_input(int child_fd, int band)
75{
76 char buf[16384];
77 ssize_t sz = read(child_fd, buf, sizeof(buf));
78 if (sz < 0) {
79 if (errno != EAGAIN && errno != EINTR)
80 error_clnt("read error: %s\n", strerror(errno));
81 return sz;
82 }
83 send_sideband(1, band, buf, sz, LARGE_PACKET_MAX);
84 return sz;
85}
86
87int cmd_upload_archive(int argc,
88const char **argv,

Callers 1

cmd_upload_archiveFunction · 0.85

Calls 2

error_clntFunction · 0.85
send_sidebandFunction · 0.85

Tested by

no test coverage detected