(name string)
| 20 | } |
| 21 | |
| 22 | func defaultLookPath(name string) ([]string, []string, error) { |
| 23 | exe, err := safeexec.LookPath(name) |
| 24 | if err != nil { |
| 25 | return nil, nil, err |
| 26 | } |
| 27 | return []string{exe}, nil, nil |
| 28 | } |
| 29 | |
| 30 | func needsBom() bool { |
| 31 | // The reason why we do this is because notepad.exe on Windows determines the |
nothing calls this directly
no outgoing calls
no test coverage detected