MCPcopy Create free account
hub / github.com/coder/envbuilder / HasImage

Method HasImage

devcontainer/devcontainer.go:126–128  ·  view source on GitHub ↗

HasImage returns true if the devcontainer.json specifies an image.

()

Source from the content-addressed store, hash-verified

124
125// HasImage returns true if the devcontainer.json specifies an image.
126func (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.

Callers 2

runFunction · 0.95
RunCacheProbeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected