(cmd *cobra.Command, args []string, toComplete string)
| 125 | } |
| 126 | |
| 127 | func imageImportShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { |
| 128 | return completion.ImageNames(cmd) |
| 129 | } |
| 130 | |
| 131 | func hasHTTPPrefix(s string) bool { |
| 132 | return strings.HasPrefix(s, "http://") || strings.HasPrefix(s, "https://") |
nothing calls this directly
no test coverage detected
searching dependent graphs…