MCPcopy Index your code
hub / github.com/jetify-com/devbox / ProcessComposeYaml

Method ProcessComposeYaml

internal/plugin/plugin.go:57–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57func (c *Config) ProcessComposeYaml() (string, string) {
58 for file, contentPath := range c.CreateFiles {
59 if strings.HasSuffix(file, "process-compose.yaml") || strings.HasSuffix(file, "process-compose.yml") {
60 return file, contentPath
61 }
62 }
63 return "", ""
64}
65
66func (c *Config) Services() (services.Services, error) {
67 if file, _ := c.ProcessComposeYaml(); file != "" {

Callers 2

ServicesMethod · 0.95
printServicesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected