()
| 23 | ) |
| 24 | |
| 25 | func 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 | |
| 35 | func LoadDockerComposeProject(path string) (*composetypes.Project, error) { |
| 36 | composeFile, err := os.ReadFile(path) |
no outgoing calls