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

Function finish_line

src/foundation/log.c:187–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187static void finish_line(char *buf, size_t bufsz, size_t pos) {
188 if (bufsz == 0) {
189 return;
190 }
191 if (pos >= bufsz) {
192 buf[bufsz - 1] = '\0';
193 } else {
194 buf[pos] = '\0';
195 }
196}
197
198static void emit_line(const char *line) {
199 if (g_log_sink) {

Callers 1

cbm_logFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected