MCPcopy Index your code
hub / github.com/anomalyco/opencode / url

Function url

packages/app/src/context/server.tsx:241–241  ·  view source on GitHub ↗
(x: StoredServer)

Source from the content-addressed store, hash-verified

239 )
240
241 const url = (x: StoredServer) => (typeof x === "string" ? x : "type" in x ? x.http.url : x.url)
242
243 const allServers = createMemo((): Array<ServerConnection.Any> => {
244 return resolveServerList({ stored: store.list, props: props.servers })

Callers 2

addFunction · 0.70
removeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected