MCPcopy
hub / github.com/tinyplex/tinybase / clearDir

Function clearDir

gulpfile.mjs:127–132  ·  view source on GitHub ↗
(dir = DIST_DIR)

Source from the content-addressed store, hash-verified

125const allDefinitions = (cb) => allOf(ALL_DEFINITIONS, cb);
126
127const clearDir = async (dir = DIST_DIR) => {
128 try {
129 await removeDir(dir);
130 } catch {}
131 await makeDir(dir);
132};
133
134const makeDir = async (dir) => {
135 try {

Callers 3

testFunction · 0.85
compileModulesForProdFunction · 0.85
compileForTestFunction · 0.85

Calls 2

removeDirFunction · 0.85
makeDirFunction · 0.85

Tested by 1

testFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…