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

Function write_text_file

tests/test_artifact.c:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static void write_text_file(const char *path, const char *text) {
68 FILE *fp = fopen(path, "w");
69 if (!fp) {
70 return;
71 }
72 fputs(text, fp);
73 fclose(fp);
74}
75
76static void capture_log_sink(const char *line) {
77 size_t used = strlen(g_log_capture);

Callers 2

test_artifact.cFile · 0.85

Calls 1

fopenFunction · 0.85

Tested by

no test coverage detected