MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / SetPRSuccess

Method SetPRSuccess

internal/tui/completion.go:137–141  ·  view source on GitHub ↗

SetPRSuccess marks the PR creation as successful.

(url, title string)

Source from the content-addressed store, hash-verified

135
136// SetPRSuccess marks the PR creation as successful.
137func (c *CompletionScreen) SetPRSuccess(url, title string) {
138 c.prState = AutoActionSuccess
139 c.prURL = url
140 c.prTitle = title
141}
142
143// SetPRError marks the PR creation as failed with an error message.
144func (c *CompletionScreen) SetPRError(errMsg string) {

Calls

no outgoing calls