Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ stop
Function
stop
packages/opencode/test/fixture/fixture.ts:73–76 ·
view source on GitHub ↗
(dir: string)
Source
from the content-addressed store, hash-verified
71
}
72
73
async
function
stop(dir: string) {
74
if
(!(
await
exists(dir)))
return
75
await
$`git fsmonitor--daemon stop`.cwd(dir).quiet().nothrow()
76
}
77
78
type
TmpDirOptions<T> = {
79
git?: boolean
Callers
2
tmpdir
Function · 0.70
tmpdirScoped
Function · 0.70
Calls
4
quiet
Method · 0.80
exists
Function · 0.70
nothrow
Method · 0.65
cwd
Method · 0.65
Tested by
no test coverage detected