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

Function cli_heap_msgf

src/cli/cli.c:11691–11695  ·  view source on GitHub ↗

Heap-format a one-argument error message for *err_out. Caller frees. */

Source from the content-addressed store, hash-verified

11689
11690/* Heap-format a one-argument error message for *err_out. Caller frees. */
11691static char *cli_heap_msgf(const char *fmt, const char *arg) {
11692 char buf[CLI_BUF_512];
11693 snprintf(buf, sizeof(buf), fmt, arg);
11694 return cbm_strdup(buf);
11695}
11696
11697/* Levenshtein distance for near-miss flag suggestions (two-row DP; inputs
11698 * are schema property names, well under the buffer sizes used here). */

Callers 1

cbm_cli_build_args_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected