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

Function root

packages/core/src/util/flock.ts:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 const root = () => {
20 if (!global) throw new Error("Flock global not set")
21 return path.join(global.state, "locks")
22 }
23
24 // Defaults for callers that do not provide timing options.
25 const defaultOpts = {

Callers 10

project.tsFile · 0.85
acquireFunction · 0.85
DialogSelectDirectoryV2Function · 0.85
loadFunction · 0.85
navigateFunction · 0.85
completeFunction · 0.85
chooseSuggestionFunction · 0.85
resolveFunction · 0.85
onSelectionChangeFunction · 0.85
MarkdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected