(commits []map[string]any, threshold string)
| 431 | } |
| 432 | |
| 433 | func hasCommitAfterTimestamp(commits []map[string]any, threshold string) bool { |
| 434 | for _, commit := range commits { |
| 435 | commitObj, _ := commit["commit"].(map[string]any) |
| 436 | if timestampOnOrAfter(outcomeNestedString(commitObj["committer"], "date"), threshold) || timestampOnOrAfter(outcomeNestedString(commitObj["author"], "date"), threshold) { |
| 437 | return true |
| 438 | } |
| 439 | } |
| 440 | return false |
| 441 | } |
no test coverage detected