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

Function path

packages/app/src/context/server-sync.tsx:136–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 project: [],
135 provider_auth: {},
136 get path() {
137 const EMPTY = { state: "", config: "", worktree: "", directory: "", home: "" }
138 if (pathQuery.isLoading) return EMPTY
139 return pathQuery.data ?? EMPTY
140 },
141 get provider() {
142 const EMPTY = { all: new Map(), connected: [], default: {} }
143 if (providerQuery.isLoading) return EMPTY

Callers 2

normalizeFunction · 0.70
normalizeAllFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected