MCPcopy Index your code
hub / github.com/cloudquery/cloudquery / createSQLFile

Function createSQLFile

cli/cmd/ai.go:304–306  ·  view source on GitHub ↗
(filenameWithoutExtension, content string)

Source from the content-addressed store, hash-verified

302}
303
304func createSQLFile(filenameWithoutExtension, content string) error {
305 return os.WriteFile(filenameWithoutExtension+".sql", []byte(content), 0644)
306}
307
308func cloudqueryTest(filenameWithoutExtension string) string {
309 cmd := exec.Command("cloudquery", "test", filenameWithoutExtension+".yaml")

Callers 1

aiCmdInnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected