(imageName: string)
| 483 | } |
| 484 | |
| 485 | function hasRegistryHostname(imageName: string) { |
| 486 | if (imageName.startsWith('localhost/')) { |
| 487 | return true; |
| 488 | } |
| 489 | const dot = imageName.indexOf('.'); |
| 490 | const slash = imageName.indexOf('/'); |
| 491 | return dot !== -1 && slash !== -1 && dot < slash; |
| 492 | } |
no outgoing calls
no test coverage detected