MCPcopy Create free account
hub / github.com/SethGammon/Citadel / ensureDir

Function ensureDir

core/codex/native-integrations.js:10–12  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

8const { createLoopContract } = require('../loops/contract');
9
10function ensureDir(dir) {
11 fs.mkdirSync(dir, { recursive: true });
12}
13
14function slugify(value) {
15 return String(value || 'item')

Callers 3

writeJsonFunction · 0.70
writeTextFunction · 0.70
appendJsonlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected