MCPcopy Create free account
hub / github.com/porsager/postgres / transpile.cf.js

File transpile.cf.js

transpile.cf.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import fs from 'fs'
2import path from 'path'
3
4const empty = x => fs.readdirSync(x).forEach(f => fs.unlinkSync(path.join(x, f)))

Callers

nothing calls this directly

Calls 3

ensureEmptyFunction · 0.70
transpileFunction · 0.70
forEachMethod · 0.65

Tested by

no test coverage detected