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

Function getInstallation

packages/opencode/src/cli/cmd/github.handler.ts:322–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320 s.stop("Installed GitHub app")
321
322 async function getInstallation() {
323 return await fetch(`https://api.opencode.ai/get_github_app_installation?owner=${app.owner}&repo=${app.repo}`)
324 .then((res) => res.json())
325 .then((data) => data.installation)
326 }
327 }
328
329 async function addWorkflowFiles() {

Callers 1

installGitHubAppFunction · 0.85

Calls 2

jsonMethod · 0.65
fetchFunction · 0.50

Tested by

no test coverage detected