def snapshot()

in app/lib/RepoSnapshot.scala [77:90]


    def snapshot(implicit githubRepo: Repo): Future[RepoSnapshot] = {
      val mergedPullRequestsF = logAround("fetch PRs")(fetchMergedPullRequests())
      val hooksF = logAround("fetch repo hooks")(fetchRepoHooks())
      val gitRepoF = logAround("fetch git repo")(fetchLatestCopyOfGitRepo())

      for {
        mergedPullRequests <- mergedPullRequestsF
        gitRepo <- gitRepoF
        hooks <- hooksF
      } yield RepoSnapshot(
        RepoLevelDetails(githubRepo, gitRepo, hooks),
        mergedPullRequests, checkpointSnapshoter
      )
    }