Skip to content

petertrr/kotlin-multiplatform-diff

Repository files navigation

kotlin-multiplatform-diff

Build and test License codecov

Releases Maven Central Awesome Kotlin Badge

This is a port of java-diff-utils to Kotlin with multiplatform support.
All credit for the implementation goes to original authors.

Features

All features from version 4.10 of the original library are present, except for:

  • unified diff, which heavily uses file read/write and therefore needs a more complicated rewrite
  • diff-utils-jgit, which uses JVM-only jgit library

Please refer to the original guides for more information.

Supported Platforms

Currently, artifacts for the following platforms are supported:

  • JVM
  • JS (both browser and Node.js)
  • WebAssembly (JS and WASI)
  • Native

The supported Native targets are (following the Kotlin/Native target support guidelines):

Tier 1 Tier 2 Tier 3
macosX64 linuxX64 mingwX64