MCPcopy Create free account
hub / github.com/nhost/nhost / New

Function New

cli/dockercompose/dockercompose.go:24–30  ·  view source on GitHub ↗
(workingDir, filepath, projectName string)

Source from the content-addressed store, hash-verified

22}
23
24func New(workingDir, filepath, projectName string) *DockerCompose {
25 return &DockerCompose{
26 workingDir: workingDir,
27 filepath: filepath,
28 projectName: projectName,
29 }
30}
31
32func (dc *DockerCompose) WriteComposeFile(composeFile *ComposeFile) error {
33 f, err := os.Create(dc.filepath)

Callers 5

commandLogsFunction · 0.92
UpFunction · 0.92
CloudFunction · 0.92
commandComposeFunction · 0.92
commandDownFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected