MCPcopy 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
22async function clean() {
23 await fs.rm(target, { recursive: true, force: true })
24}
25
26if (process.argv.includes(`--clean`)) {
27 if (await pathExists(path.join(source, `index.md`))) {

Callers 1

sync-docs.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected