Package-level declarations

The konsist { } backend: declares a named constraint that runs a Konsist scope over the files a role's layout { } covers.

Types

Link copied to clipboard

Konsist's own assertion ran inside a konsist { } block.

Link copied to clipboard

A konsist { } block that asked for nothing.

Link copied to clipboard

A konsist { } constraint that covers files, none of which Konsist can parse.

Link copied to clipboard

Konsist did not hand back every file katachi asked it to parse.

A rejected element that cannot say where it is.

Link copied to clipboard
interface KonsistScope : KoScope

Receiver of a konsist { } block: Konsist's own query vocabulary, plus the three words katachi answers with.

Functions

Link copied to clipboard
context(fileConstraintScope: FileConstraintScope)
fun konsist(scope: FileConstraintRange = FileConstraintRange.Subtree, block: KonsistScope.() -> Unit)

Declares an unnamed constraint over the files the block around it matched, written with Konsist.

Link copied to clipboard
context(fileConstraintScope: FileConstraintScope)
fun String.konsist(scope: FileConstraintRange = FileConstraintRange.Subtree, block: KonsistScope.() -> Unit)

Declares a named constraint over the files the block around it matched, written with Konsist.