MCPcopy
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
73async function stop(dir: string) {
74 if (!(await exists(dir))) return
75 await $`git fsmonitor--daemon stop`.cwd(dir).quiet().nothrow()
76}
77
78type TmpDirOptions<T> = {
79 git?: boolean

Callers 2

tmpdirFunction · 0.70
tmpdirScopedFunction · 0.70

Calls 4

quietMethod · 0.80
existsFunction · 0.70
nothrowMethod · 0.65
cwdMethod · 0.65

Tested by

no test coverage detected