differ-core / com.differ.differcore.service / DiffService / difference

difference

abstract fun difference(penultimate: String?, last: String?): Either<Difference>

Looks for changes in two specified versions.

Implementations should look up specified version and make comparison.

Parameters

penultimate - penultimate version of the API.

last - last version of the API.

Return
The result of comparing two versions. If all is fun then will be returned Either.Success else will be returned Either.Error with message or exception.