MCPcopy Create free account
hub / github.com/github/gh-aw / hasCommitAfterTimestamp

Function hasCommitAfterTimestamp

pkg/cli/outcome_eval_review.go:433–441  ·  view source on GitHub ↗
(commits []map[string]any, threshold string)

Source from the content-addressed store, hash-verified

431}
432
433func 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}

Callers 1

Calls 2

timestampOnOrAfterFunction · 0.85
outcomeNestedStringFunction · 0.85

Tested by

no test coverage detected