MCPcopy
hub / github.com/go-task/task / Run

Method Run

internal/fingerprint/checker_mock.go:79–84  ·  view source on GitHub ↗
(run func(ctx context.Context, t *ast.Task))

Source from the content-addressed store, hash-verified

77}
78
79func (_c *MockStatusCheckable_IsUpToDate_Call) Run(run func(ctx context.Context, t *ast.Task)) *MockStatusCheckable_IsUpToDate_Call {
80 _c.Call.Run(func(args mock.Arguments) {
81 run(args[0].(context.Context), args[1].(*ast.Task))
82 })
83 return _c
84}
85
86func (_c *MockStatusCheckable_IsUpToDate_Call) Return(b bool, err error) *MockStatusCheckable_IsUpToDate_Call {
87 _c.Call.Return(b, err)

Callers

nothing calls this directly

Calls 2

runFunction · 0.50
RunMethod · 0.45

Tested by

no test coverage detected