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

Function flush_carriage

src/cli/progress_sink.c:300–305  ·  view source on GitHub ↗

Flush pending \r line if needed. */

Source from the content-addressed store, hash-verified

298
299/* Flush pending \r line if needed. */
300static void flush_carriage(void) {
301 if (atomic_load(&s_needs_newline)) {
302 (void)fprintf(s_out, "\n");
303 atomic_store(&s_needs_newline, 0);
304 }
305}
306
307/* Handle pipeline.discover event. */
308static void on_discover(const char *line) {

Callers 3

on_pass_timingFunction · 0.85
on_doneFunction · 0.85
passthrough_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected