MCPcopy
hub / github.com/dagger/dagger / Codegen

Method Codegen

core/sdk.go:118–118  ·  view source on GitHub ↗

* Codegen generates code for the module at the given source directory and subpath. The Code field of the returned GeneratedCode object should be the generated contents of the module sourceDirSubpath, in the case where that's different than the root of the sourceDir. The provided Module

(
		context.Context,

		// Current module dependencies.
		*SchemaBuilder,

		// Current instance of the module source.
		dagql.ObjectResult[*ModuleSource],
	)

Source from the content-addressed store, hash-verified

116 ```
117 */
118 Codegen(
119 context.Context,
120
121 // Current module dependencies.

Callers 9

CodegenMethod · 0.65
invokeFunction · 0.65
runCodegenMethod · 0.65
IntrospectionJSONMethod · 0.65
invokeFunction · 0.65
invokeFunction · 0.65
invokeFunction · 0.65
invokeFunction · 0.65
invokeFunction · 0.65

Implementers 11

OnlyCodegencore/integration/testdata/sdks/only-co
codeGeneratorModulecore/sdk/module_code_generator.go
goSDKcore/sdk/go_sdk.go
dangSDKcore/sdk/dang_sdk.go
Querytoolchains/engine-dev/internal/dagger/
PythonSdksdk/python/runtime/main.go
PhpSdksdk/php/runtime/main.go
TypescriptSdksdk/typescript/runtime/main.go
ElixirSdksdk/elixir/runtime/main.go
JavaSdksdk/java/runtime/main.go

Calls

no outgoing calls

Tested by

no test coverage detected