( ctx context.Context, parentTaskID string, )
| 227 | } |
| 228 | |
| 229 | func (s *deleteTaskStore) CountDirectChildren( |
| 230 | ctx context.Context, |
| 231 | parentTaskID string, |
| 232 | ) (int, error) { |
| 233 | if err, ok := s.countDirectChildrenErrByID[strings.TrimSpace(parentTaskID)]; ok { |
| 234 | return 0, err |
| 235 | } |
| 236 | return s.inMemoryManagerStore.CountDirectChildren(ctx, parentTaskID) |
| 237 | } |
| 238 | |
| 239 | func (s *deleteTaskStore) ListTaskRuns(ctx context.Context, query RunQuery) ([]Run, error) { |
| 240 | if err, ok := s.listTaskRunsErrByID[strings.TrimSpace(query.TaskID)]; ok { |
nothing calls this directly
no test coverage detected