MCPcopy Index your code
hub / github.com/nikivdev/go / printCommitSuccess

Function printCommitSuccess

cli/flow/main.go:2727–2732  ·  view source on GitHub ↗
(ctx *snap.Context, payload *commitPayload)

Source from the content-addressed store, hash-verified

2725}
2726
2727func printCommitSuccess(ctx *snap.Context, payload *commitPayload) {
2728 if len(payload.paragraphs) == 0 {
2729 return
2730 }
2731 fmt.Fprintf(ctx.Stdout(), "✔️ Committed with message: %s\n", payload.paragraphs[0])
2732}
2733
2734func promptCommitConfirmation(ctx *snap.Context, message string) (string, bool, error) {
2735 current := message

Callers 3

runCommitFunction · 0.85
runCommitPushFunction · 0.85
runCommitReviewAndPushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected