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

Function ws_write

tests/test_workspace.c:283–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281/* ── Per-project request manifest ───────────────────────────────────────── */
282
283static void ws_write(const char *path, const char *body) {
284 FILE *f = cbm_fopen(path, "wb");
285 if (f) {
286 (void)fputs(body, f);
287 (void)fclose(f);
288 }
289}
290
291TEST(ws_manifest_absent_is_not_an_error) {
292 char *base = th_mktempdir("cbm_ws_m0");

Callers 3

test_workspace.cFile · 0.85
ws_manifest_writeFunction · 0.85

Calls 1

cbm_fopenFunction · 0.85

Tested by

no test coverage detected