* 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. */
| 255 | * constants at compile time. |
| 256 | */ |
| 257 | static 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 |
no test coverage detected