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

Function make_temp_path

tests/test_store_bulk.c:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static void make_temp_path(char *buf, size_t n) {
47 snprintf(buf, n, "%s/cmm_bulk_test_%d.db", cbm_tmpdir(), (int)getpid());
48}
49
50static void cleanup_db(const char *path) {
51 remove(path);

Callers 1

test_store_bulk.cFile · 0.85

Calls 1

cbm_tmpdirFunction · 0.85

Tested by

no test coverage detected