diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2016-10-16 16:20:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-17 11:36:50 -0700 |
commit | bb643d8bf872c416b7445e728e2675ac6490fe1d (patch) | |
tree | bcfb2996f3848da2ef60bf24cc2e84361a82c991 /perl/Git | |
parent | pkt-line: add packet_write_gently() (diff) | |
download | tgif-bb643d8bf872c416b7445e728e2675ac6490fe1d.tar.xz |
pkt-line: add functions to read/write flush terminated packet streams
write_packetized_from_fd() and write_packetized_from_buf() write a
stream of packets. All content packets use the maximal packet size
except for the last one. After the last content packet a `flush` control
packet is written.
read_packetized_to_strbuf() reads arbitrary sized packets until it
detects a `flush` packet.
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl/Git')
0 files changed, 0 insertions, 0 deletions