MCPcopy Index your code
hub / github.com/devspace-sh/devspace / GetDockerComposePath

Function GetDockerComposePath

pkg/devspace/compose/manager.go:25–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23)
24
25func GetDockerComposePath() string {
26 for _, composePath := range DockerComposePaths {
27 _, err := os.Stat(composePath)
28 if err == nil {
29 return composePath
30 }
31 }
32 return ""
33}
34
35func LoadDockerComposeProject(path string) (*composetypes.Project, error) {
36 composeFile, err := os.ReadFile(path)

Callers 2

testLoadFunction · 0.85

Calls

no outgoing calls

Tested by 1

testLoadFunction · 0.68