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

Function ws_write

tests/test_workspace.c:164–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162/* ── Per-project request manifest ───────────────────────────────────────── */
163
164static void ws_write(const char *path, const char *body) {
165 FILE *f = cbm_fopen(path, "wb");
166 if (f) {
167 (void)fputs(body, f);
168 (void)fclose(f);
169 }
170}
171
172TEST(ws_manifest_absent_is_not_an_error) {
173 char *base = th_mktempdir("cbm_ws_m0");

Callers 1

test_workspace.cFile · 0.85

Calls 1

cbm_fopenFunction · 0.85

Tested by

no test coverage detected