MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / jl_append_repeated

Function jl_append_repeated

src/cli/config_json_like.c:1035–1042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1033}
1034
1035static int jl_append_repeated(jl_buffer_t *buffer, const char *data, size_t length, size_t count) {
1036 for (size_t i = 0; i < count; i++) {
1037 if (jl_buffer_append(buffer, data, length) != 0) {
1038 return -1;
1039 }
1040 }
1041 return 0;
1042}
1043
1044static int jl_append_styled_indent(jl_buffer_t *buffer, jl_slice_t base, jl_slice_t unit,
1045 size_t unit_count) {

Callers 2

jl_append_styled_indentFunction · 0.85
jl_build_freshFunction · 0.85

Calls 1

jl_buffer_appendFunction · 0.85

Tested by

no test coverage detected