MCPcopy Index your code
hub / github.com/git/git / send_request

Function send_request

fetch-pack.c:255–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255static void send_request(struct fetch_pack_args *args,
256 int fd, struct strbuf *buf)
257{
258 if (args->stateless_rpc) {
259 send_sideband(fd, -1, buf->buf, buf->len, LARGE_PACKET_MAX);
260 packet_flush(fd);
261 } else {
262 if (write_in_full(fd, buf->buf, buf->len) < 0)
263 die_errno(_("unable to write to remote"));
264 }
265}
266
267static void insert_one_alternate_object(struct fetch_negotiator *negotiator,
268 struct object *obj)

Callers 1

find_commonFunction · 0.70

Calls 4

send_sidebandFunction · 0.85
packet_flushFunction · 0.85
write_in_fullFunction · 0.85
die_errnoFunction · 0.85

Tested by

no test coverage detected