def snapshot()

in app/lib/CheckpointSnapshot.scala [47:60]


  def snapshot(checkpoint: Checkpoint): Future[Iterator[AbbreviatedObjectId]] = {

    val clientForCheckpoint = if (checkpoint.sslVerification) client else insecureClient

    clientForCheckpoint.execute(new Builder().url(checkpoint.url.toString).build()) {
      resp =>
        val responseHeaderValues = resp.headers().toMultimap.entrySet().asScala.toSeq.flatMap(_.getValue.asScala.toSeq)
        val responseValues: Set[String] = responseHeaderValues.toSet + resp.body().string
        for {
          responseValue <- responseValues.iterator
          commitText <- hexRegex.findAllIn(responseValue)
        } yield AbbreviatedObjectId.fromString(commitText)
    }
  }