MCPcopy Create free account
hub / github.com/compozy/agh / GetTask

Method GetTask

internal/task/manager_test.go:222–227  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

220}
221
222func (s *deleteTaskStore) GetTask(ctx context.Context, id string) (Task, error) {
223 if err, ok := s.getTaskErrByID[strings.TrimSpace(id)]; ok {
224 return Task{}, err
225 }
226 return s.inMemoryManagerStore.GetTask(ctx, id)
227}
228
229func (s *deleteTaskStore) CountDirectChildren(
230 ctx context.Context,

Callers

nothing calls this directly

Calls 1

GetTaskMethod · 0.65

Tested by

no test coverage detected