MCPcopy Index your code
hub / github.com/dagger/dagger / runGeneratorLocally

Method runGeneratorLocally

core/modtree.go:497–503  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

495}
496
497func (node *ModTreeNode) runGeneratorLocally(ctx context.Context) (dagql.ObjectResult[*Changeset], error) {
498 var changes dagql.ObjectResult[*Changeset]
499 if err := node.DagqlValue(ctx, &changes); err != nil {
500 return dagql.ObjectResult[*Changeset]{}, err
501 }
502 return changes, nil
503}
504
505// buildScaleOutModuleQuery builds a query to load a module for scale-out execution.
506// It handles all module source kinds (Local, Git, Dir) and returns a query

Callers 2

RunGeneratorMethod · 0.80

Calls 1

DagqlValueMethod · 0.95

Tested by

no test coverage detected