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

Function tic_work

src/mcp/test_impact_cli.c:65–71  ·  view source on GitHub ↗

/test-impact unless --work names another private parent. */

Source from the content-addressed store, hash-verified

63
64/* <cache>/test-impact unless --work names another private parent. */
65static const char *tic_work(const char *requested, char *buf, size_t cap) {
66 if (requested) {
67 return requested;
68 }
69 snprintf(buf, cap, "%s/test-impact", cbm_resolve_cache_dir());
70 return cbm_mkdir_p(buf, 0700) ? buf : NULL;
71}
72
73static int tic_usage(void) {
74 (void)fprintf(stderr,

Callers 2

tic_publishFunction · 0.85
tic_selectFunction · 0.85

Calls 2

cbm_resolve_cache_dirFunction · 0.85
cbm_mkdir_pFunction · 0.85

Tested by

no test coverage detected