HasDockerfile returns true if the devcontainer.json specifies the path to a Dockerfile.
()
| 130 | // HasDockerfile returns true if the devcontainer.json specifies the path to a |
| 131 | // Dockerfile. |
| 132 | func (s Spec) HasDockerfile() bool { |
| 133 | return s.Dockerfile != "" || s.Build.Dockerfile != "" |
| 134 | } |
| 135 | |
| 136 | // Compile returns the build parameters for the workspace. |
| 137 | // devcontainerDir is the path to the directory where the devcontainer.json file |
no outgoing calls
no test coverage detected