You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
352 B
Kotlin
9 lines
352 B
Kotlin
package net.cijber.pubgrub
|
|
|
|
import net.cijber.pubgrub.stubs.PackageId
|
|
import net.cijber.pubgrub.stubs.Version
|
|
|
|
data class Incompatibility<P : PackageId, V : Version<V>>(val terms: List<Term<P, V>>, val cause: IncompatibilityCause<P, V>) {
|
|
val isFailure: Boolean
|
|
get() = terms.isEmpty() || (terms.count() == 1 && terms.first().pkg.isRoot);
|
|
} |