HasImage returns true if the devcontainer.json specifies an image.
()
| 124 | |
| 125 | // HasImage returns true if the devcontainer.json specifies an image. |
| 126 | func (s Spec) HasImage() bool { |
| 127 | return s.Image != "" |
| 128 | } |
| 129 | |
| 130 | // HasDockerfile returns true if the devcontainer.json specifies the path to a |
| 131 | // Dockerfile. |
no outgoing calls
no test coverage detected