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

Function jl_append_repeated

src/cli/config_json_like.c:1034–1041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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