MCPcopy
hub / github.com/React95/React95 / deleteFolder

Function deleteFolder

packages/icons/scripts/utils.ts:22–28  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

20export const CSS_FILE_PATH = './icons.css';
21
22export function deleteFolder(path: string) {
23 const exists = fs.existsSync(path);
24
25 if (exists) {
26 fs.rmSync(path, { recursive: true });
27 }
28}

Callers 1

processIcons.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected