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

Method RunCheck

core/modtree.go:114–124  ·  view source on GitHub ↗
(ctx context.Context, include, exclude []string)

Source from the content-addressed store, hash-verified

112}
113
114func (node *ModTreeNode) RunCheck(ctx context.Context, include, exclude []string) error {
115 return node.runAsCheck(ctx,
116 func(n *ModTreeNode) bool { return n.IsCheck },
117 func(n *ModTreeNode, ctx context.Context) (bool, error) {
118 return node.tryRunCheckScaleOut(ctx)
119 },
120 func(n *ModTreeNode, ctx context.Context) error {
121 return n.runCheckLocally(ctx)
122 },
123 include, exclude)
124}
125
126func (node *ModTreeNode) RunGeneratorAsCheck(ctx context.Context, include, exclude []string) error {
127 return node.runAsCheck(ctx,

Callers 2

RunMethod · 0.80
RunMethod · 0.80

Calls 3

runAsCheckMethod · 0.95
tryRunCheckScaleOutMethod · 0.95
runCheckLocallyMethod · 0.80

Tested by

no test coverage detected