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

Function mkdirp

src/cli/cli.c:1378–1380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1376/* ── Recursive mkdir (via compat_fs) ──────────────────────────── */
1377
1378static int mkdirp(const char *path, int mode) {
1379 return (int)cbm_mkdir_p(path, mode) ? 0 : CLI_ERR;
1380}
1381
1382/* Legacy migration may remove an empty directory, but never recursively
1383 * delete a tree it cannot prove it owns. POSIX lstat prevents following a

Callers 3

cbm_install_skillsFunction · 0.85
ensure_parent_dirFunction · 0.85
cbm_config_openFunction · 0.85

Calls 1

cbm_mkdir_pFunction · 0.85

Tested by

no test coverage detected