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

Function write_to_child

http-backend.c:297–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297static void write_to_child(int out, const unsigned char *buf, ssize_t len, const char *prog_name)
298{
299 if (write_in_full(out, buf, len) < 0)
300 die("unable to write to '%s'", prog_name);
301}
302
303/*
304 * This is basically strbuf_read(), except that if we

Callers 3

inflate_requestFunction · 0.85
copy_requestFunction · 0.85
pipe_fixed_lengthFunction · 0.85

Calls 2

write_in_fullFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected