MCPcopy
hub / github.com/QwikDev/qwik / emptyDir

Function emptyDir

scripts/util.ts:253–258  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

251export const mkdir = /*#__PURE__*/ promisify(fsMkdir);
252
253export function emptyDir(dir: string) {
254 try {
255 rmSync(dir, { recursive: true });
256 } catch (e) {}
257 ensureDir(dir);
258}
259
260export function ensureDir(dir: string) {
261 try {

Callers 4

buildWasmBindingFunction · 0.90
buildQwikCityFunction · 0.90
bundleCreateQwikCliFunction · 0.90
buildFunction · 0.90

Calls 1

ensureDirFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…