All Downloads are FREE. Search and download functionalities are using the official Maven repository.

izumi.fundamentals.platform.resources.GitStatus.scala Maven / Gradle / Ivy

package izumi.fundamentals.platform.resources

case class GitStatus(branch: String, repoClean: Boolean, revision: String) {
  override def toString: String = {
    val out = s"""$branch#$revision"""
    if (repoClean) {
      out
    } else {
      s"$out*"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy