(filename, startingText string)
| 704 | } |
| 705 | |
| 706 | func (e *userEditor) Edit(filename, startingText string) (string, error) { |
| 707 | editorCommand, err := cmdutil.DetermineEditor(e.config) |
| 708 | if err != nil { |
| 709 | return "", err |
| 710 | } |
| 711 | |
| 712 | return surveyext.Edit(editorCommand, filename, startingText, e.io.In, e.io.Out, e.io.ErrOut) |
| 713 | } |
| 714 | |
| 715 | // blockedReason translates various MergeStateStatus GraphQL values into human-readable reason |
| 716 | func blockedReason(status string, useAdmin bool) string { |
nothing calls this directly
no test coverage detected