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

Function updateComment

github/index.ts:795–807  ·  view source on GitHub ↗
(body: string)

Source from the content-addressed store, hash-verified

793}
794
795async function updateComment(body: string) {
796 if (!commentId) return
797
798 console.log("Updating comment...")
799
800 const { repo } = useContext()
801 return await octoRest.rest.issues.updateComment({
802 owner: repo.owner,
803 repo: repo.repo,
804 comment_id: commentId,
805 body,
806 })
807}
808
809async function createPR(base: string, branch: string, title: string, body: string) {
810 console.log("Creating pull request...")

Callers 1

index.tsFile · 0.70

Calls 2

useContextFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected