(editorCommand, fn, initialValue string, stdin io.Reader, stdout io.Writer, stderr io.Writer)
| 16 | } |
| 17 | |
| 18 | func Edit(editorCommand, fn, initialValue string, stdin io.Reader, stdout io.Writer, stderr io.Writer) (string, error) { |
| 19 | return edit(editorCommand, fn, initialValue, stdin, stdout, stderr, nil, defaultLookPath) |
| 20 | } |
| 21 | |
| 22 | func defaultLookPath(name string) ([]string, []string, error) { |
| 23 | exe, err := safeexec.LookPath(name) |
no test coverage detected