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

Function strbuf_add_wrapped_bytes

utf8.c:359–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void strbuf_add_wrapped_bytes(struct strbuf *buf, const char *data, int len,
360 int indent, int indent2, int width)
361{
362 char *tmp = xstrndup(data, len);
363 strbuf_add_wrapped_text(buf, tmp, indent, indent2, width);
364 free(tmp);
365}
366
367void strbuf_utf8_replace(struct strbuf *sb_src, int pos, int width,
368 const char *subst)

Callers 2

pp_user_infoFunction · 0.85
pp_email_subjectFunction · 0.85

Calls 2

xstrndupFunction · 0.85
strbuf_add_wrapped_textFunction · 0.85

Tested by

no test coverage detected