Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/porsager/postgres
/ transpile.cjs
File
transpile.cjs
transpile.cjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
fs = require(
'fs'
)
2
, path = require(
'path'
)
3
4
const
empty = x => fs.readdirSync(x).forEach(f => fs.unlinkSync(path.join(x, f)))
Callers
nothing calls this directly
Calls
3
ensureEmpty
Function · 0.70
transpile
Function · 0.70
forEach
Method · 0.65
Tested by
no test coverage detected