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

Function ws_join

tests/test_workspace.c:512–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512static bool ws_join(char *out, size_t out_sz, const char *a, const char *b) {
513 int n = snprintf(out, out_sz, "%s/%s", a, b);
514 return n > 0 && (size_t)n < out_sz;
515}
516
517/* Create <parent>/<name> and return it in canonical form. */
518static bool ws_mkdir_canonical(const char *parent, const char *name, char *out, size_t out_sz) {

Callers 4

ws_mkdir_canonicalFunction · 0.85
ws_manifest_writeFunction · 0.85
test_workspace.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected