MCPcopy Create free account
hub / github.com/anomalyco/opencode / forceRemove

Function forceRemove

packages/core/src/util/effect-flock.ts:114–114  ·  view source on GitHub ↗
(target: string)

Source from the content-addressed store, hash-verified

112 )
113
114 const forceRemove = (target: string) => fs.remove(target, { recursive: true }).pipe(Effect.ignore)
115
116 /** Atomic mkdir — returns true if created, false if already exists, dies on other errors. */
117 const atomicMkdir = (dir: string) =>

Callers 4

exclusiveWriteFunction · 0.85
effect-flock.tsFile · 0.85
tryAcquireLockDirFunction · 0.85
releaseFunction · 0.85

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected