mirror of https://github.com/sbt/sbt.git
reorganization of main/
* split several source files * move base settings sources (Scope, Structure, ...) into main/settings/ * breaks cycles. In particular, setting system moved from Project to Def
This commit is contained in:
parent
19315265c1
commit
dbe4b74c10
|
|
@ -125,6 +125,7 @@ final case class Attributed[D](data: D)(val metadata: AttributeMap)
|
|||
}
|
||||
object Attributed
|
||||
{
|
||||
def data[T](in: Seq[Attributed[T]]): Seq[T] = in.map(_.data)
|
||||
def blankSeq[T](in: Seq[T]): Seq[Attributed[T]] = in map blank
|
||||
def blank[T](data: T): Attributed[T] = Attributed(data)(AttributeMap.empty)
|
||||
}
|
||||
Loading…
Reference in New Issue