diff options
Diffstat (limited to 'core/src/main/kotlin/validity/PreGenerationChecker.kt')
-rw-r--r-- | core/src/main/kotlin/validity/PreGenerationChecker.kt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/core/src/main/kotlin/validity/PreGenerationChecker.kt b/core/src/main/kotlin/validity/PreGenerationChecker.kt deleted file mode 100644 index 349b398b..00000000 --- a/core/src/main/kotlin/validity/PreGenerationChecker.kt +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */ - -package org.jetbrains.dokka.validity - -public fun interface PreGenerationChecker : () -> PreGenerationCheckerOutput { - - override fun invoke(): PreGenerationCheckerOutput -} - -public data class PreGenerationCheckerOutput(val result: Boolean, val messages: List<String>) { - - public operator fun plus(pair: Pair<Boolean, List<String>>): Pair<Boolean, List<String>> { - return Pair(result && pair.first, messages + pair.second) - } -} |