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

Function ws_manifest_write_line

tests/test_workspace.c:533–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533static void ws_manifest_write_line(const char *base, const char *entry) {
534 char body[WS_T_PATH];
535 int n = snprintf(body, sizeof(body), "%s\n", entry);
536 if (n > 0 && (size_t)n < sizeof(body)) {
537 ws_manifest_write(base, body);
538 }
539}
540
541/* Put the manifest on record as approved by writing the store line directly,
542 * in the form cbm_workspace_manifest_approve writes ("<digest> <project>").

Callers 1

test_workspace.cFile · 0.85

Calls 1

ws_manifest_writeFunction · 0.85

Tested by

no test coverage detected