Package-level declarations

Types

Link copied to clipboard
data class AppliedChange(val kind: ChangeKind, val path: String)

A change that was successfully applied to a target.

Link copied to clipboard
data class ApplyFailure(val kind: ChangeKind, val path: String, val cause: String)

A change that could not be applied to a target.

Link copied to clipboard

The kind of file change represented by an OpenRewrite Result.

Link copied to clipboard
data class WriteOutcome(val successes: List<AppliedChange> = emptyList(), val failures: List<ApplyFailure> = emptyList())

Per-file outcome for applying OpenRewrite results to a target.