Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
fs from
'fs'
2
import
path from
'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