(hostname string)
| 112 | } |
| 113 | |
| 114 | func keyFor(hostname string) string { |
| 115 | host := strings.TrimSuffix(ghinstance.HostPrefix(hostname), "/") |
| 116 | return fmt.Sprintf("credential.%s.helper", host) |
| 117 | } |
| 118 | |
| 119 | func shellQuote(s string) string { |
| 120 | if strings.ContainsAny(s, " $\\") { |
no test coverage detected