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

Function strbuf_insertstr

strbuf.h:257–261  ·  view source on GitHub ↗

* Insert a NUL-terminated string to the given position of the buffer. * The remaining contents will be shifted, not overwritten. It's an * inline function to allow the compiler to resolve strlen() calls on * constants at compile time. */

Source from the content-addressed store, hash-verified

255 * constants at compile time.
256 */
257static inline void strbuf_insertstr(struct strbuf *sb, size_t pos,
258 const char *s)
259{
260 strbuf_insert(sb, pos, s, strlen(s));
261}
262
263/**
264 * Insert data to the given position of the buffer giving a printf format

Callers 11

curl_dump_headerFunction · 0.85
expand_notes_refFunction · 0.85
url_parseFunction · 0.85
format_commit_itemFunction · 0.85
handle_content_typeFunction · 0.85
add_header_signatureFunction · 0.85
commit_notesFunction · 0.85
merge_commitFunction · 0.85
update_refs_for_switchFunction · 0.85
strbuf_to_cone_patternFunction · 0.85

Calls 1

strbuf_insertFunction · 0.85

Tested by

no test coverage detected