in app/lib/PullRequestCheckpointsStateChangeSummary.scala [37:49]
def apply(
pr: PullRequest,
snapshots: Set[CheckpointSnapshot],
gitRepo: Repository
): PRCheckpointDetails = {
val everythingByCheckpoint: Map[Checkpoint, EverythingYouWantToKnowAboutACheckpoint] =
(for (snapshot <- snapshots) yield {
snapshot.checkpoint -> EverythingYouWantToKnowAboutACheckpoint(pr,snapshot,gitRepo)
}).toMap
PRCheckpointDetails(pr, everythingByCheckpoint)
}