Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ effect-flock.ts
File
effect-flock.ts
packages/core/src/util/effect-flock.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
path from
"path"
2
import
os from
"os"
3
import
{ randomUUID } from
"crypto"
4
import
{ Context, Effect, Function, Layer, Option, Schedule, Schema } from
"effect"
Callers
nothing calls this directly
Calls
9
safeStat
Function · 0.85
mtimeMs
Function · 0.85
forceRemove
Function · 0.85
ensureDir
Function · 0.85
acquireHandle
Function · 0.85
acquire
Function · 0.85
wall
Function · 0.70
release
Function · 0.70
add
Method · 0.65
Tested by
no test coverage detected