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

sbt.internal.graph.rendering.FlatList.scala Maven / Gradle / Ivy

There is a newer version: 1.10.7
Show newest version
/*
 * sbt
 * Copyright 2023, Scala center
 * Copyright 2011 - 2022, Lightbend, Inc.
 * Copyright 2008 - 2010, Mark Harrah
 * Licensed under Apache License 2.0 (see LICENSE)
 */

package sbt
package internal
package graph
package rendering

object FlatList {
  def render(display: Module => String)(graph: ModuleGraph): String =
    graph.modules.values.toSeq.distinct
      .filterNot(_.isEvicted)
      .sortBy(m => (m.id.organization, m.id.name))
      .map(display)
      .mkString("\n")
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy