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

Function ui_delete_make_sidecars

tests/test_httpd.c:711–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709}
710
711static int ui_delete_make_sidecars(const ui_delete_fixture_t *fx, const char *project) {
712 char path[1024];
713 ui_delete_db_path(fx, project, path, sizeof(path));
714 char wal[1040], shm[1040];
715 snprintf(wal, sizeof(wal), "%s-wal", path);
716 snprintf(shm, sizeof(shm), "%s-shm", path);
717 return th_write_file(wal, "wal") == 0 && th_write_file(shm, "shm") == 0 ? 0 : -1;
718}
719
720static int ui_delete_request(th_server_t *ts, const char *target, char *resp, size_t respsz) {
721 char req[512];

Callers 1

test_httpd.cFile · 0.85

Calls 2

ui_delete_db_pathFunction · 0.85
th_write_fileFunction · 0.85

Tested by

no test coverage detected