MCPcopy Create free account
hub / github.com/auth0/auth0-cli / createOutputDirectory

Function createOutputDirectory

internal/cli/terraform.go:303–311  ·  view source on GitHub ↗
(outputDIR string)

Source from the content-addressed store, hash-verified

301}
302
303func createOutputDirectory(outputDIR string) error {
304 const readWritePermission = 0755
305
306 if err := os.MkdirAll(outputDIR, readWritePermission); err != nil && !os.IsExist(err) {
307 return err
308 }
309
310 return nil
311}
312
313func createMainFile(input *terraformInputs) error {
314 filePath := path.Join(input.OutputDIR, "auth0_main.tf")

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected