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

Function packet_read

pkt-line.c:516–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516int packet_read(int fd, char *buffer, unsigned size, int options)
517{
518 int pktlen = -1;
519
520 packet_read_with_status(fd, NULL, NULL, buffer, size, &pktlen,
521 options);
522
523 return pktlen;
524}
525
526char *packet_read_line(int fd, int *dst_len)
527{

Callers 7

rpc_serviceFunction · 0.85
packet_read_lineFunction · 0.85
packet_read_line_gentlyFunction · 0.85
executeFunction · 0.85
worker_loopFunction · 0.85

Calls 1

packet_read_with_statusFunction · 0.85

Tested by

no test coverage detected