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

Function mkdirp

src/cli/cli.c:1428–1430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1426/* ── Recursive mkdir (via compat_fs) ──────────────────────────── */
1427
1428static int mkdirp(const char *path, int mode) {
1429 return (int)cbm_mkdir_p(path, mode) ? 0 : CLI_ERR;
1430}
1431
1432/* Legacy migration may remove an empty directory, but never recursively
1433 * 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