Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2016-10-17 02:20:34 +0300
committerJunio C Hamano <gitster@pobox.com>2016-10-17 21:36:50 +0300
commitbb643d8bf872c416b7445e728e2675ac6490fe1d (patch)
treebcfb2996f3848da2ef60bf24cc2e84361a82c991 /convert.c
parentedfb780cd4fe73474583016055542f5686d3d98d (diff)
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 'convert.c')
0 files changed, 0 insertions, 0 deletions