Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/electric-sql/electric
/ clean
Function
clean
packages/agents/scripts/sync-docs.mjs:22–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
}
21
22
async
function
clean() {
23
await
fs.rm(target, { recursive: true, force: true })
24
}
25
26
if
(process.argv.includes(`--clean`)) {
27
if
(
await
pathExists(path.join(source, `index.md`))) {
Callers
1
sync-docs.mjs
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected