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

Function fwrite_buffer

http.c:201–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201size_t fwrite_buffer(char *ptr, size_t eltsize, size_t nmemb, void *buffer_)
202{
203 size_t size = eltsize * nmemb;
204 struct strbuf *buffer = buffer_;
205
206 strbuf_add(buffer, ptr, size);
207 return nmemb;
208}
209
210/*
211 * A folded header continuation line starts with any number of spaces or

Callers 1

Calls 1

strbuf_addFunction · 0.85

Tested by

no test coverage detected