-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port changes up to version 4.15 of java-diff-utils (#130)
- Loading branch information
Showing
3 changed files
with
49 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,38 @@ | ||
# kotlin-multiplatform-diff | ||
|
||
![Build and test](https://github.com/petertrr/kotlin-multiplatform-diff/workflows/Build%20and%20test/badge.svg) | ||
[![Codecov](https://codecov.io/gh/petertrr/kotlin-multiplatform-diff/branch/main/graph/badge.svg)](https://codecov.io/gh/petertrr/kotlin-multiplatform-diff) | ||
[![License](https://img.shields.io/github/license/petertrr/kotlin-multiplatform-diff)](https://github.com/petertrr/kotlin-multiplatform-diff/blob/main/LICENSE) | ||
[![codecov](https://codecov.io/gh/petertrr/kotlin-multiplatform-diff/branch/main/graph/badge.svg)](https://codecov.io/gh/petertrr/kotlin-multiplatform-diff) | ||
|
||
[![Releases](https://img.shields.io/github/v/release/petertrr/kotlin-multiplatform-diff)](https://github.com/petertrr/kotlin-multiplatform-diff/releases) | ||
[![Maven Central](https://img.shields.io/maven-central/v/io.github.petertrr/kotlin-multiplatform-diff)](https://mvnrepository.com/artifact/io.github.petertrr) | ||
[![Awesome Kotlin Badge](https://kotlin.link/awesome-kotlin.svg)](https://github.com/KotlinBy/awesome-kotlin) | ||
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.24-blue.svg?logo=kotlin)](http://kotlinlang.org) | ||
|
||
This is a port of [java-diff-utils](https://github.com/java-diff-utils/java-diff-utils) to Kotlin with multiplatform support. | ||
All credit for the implementation goes to original authors. | ||
All credit for the implementation goes to the original authors. | ||
|
||
## Features | ||
|
||
All features from version `4.12` of the original library are present, except for: | ||
All features from version `4.15` of the original library are present, except for: | ||
|
||
- fuzzy patches | ||
- unified diff, which heavily uses file read/write and therefore needs a more complicated rewrite | ||
- diff-utils-jgit, which uses JVM-only JGit | ||
|
||
Please refer to the original guides for more information. | ||
|
||
## Supported Platforms | ||
Refer to the [original wiki][1] for more information. | ||
|
||
Currently, artifacts for the following platforms are supported: | ||
## Supported platforms | ||
|
||
- JVM | ||
- JS (both browser and Node.js) | ||
- WebAssembly (JS and WASI) | ||
- JS (browser and Node.js) | ||
- WebAssembly (WASM/JS and WASM/WASI) | ||
- Native | ||
|
||
The supported Native targets are (following the Kotlin/Native [target support guidelines][1]): | ||
Supported Native targets are (following the Kotlin/Native [target support guidelines][2]): | ||
|
||
| Tier 1 | Tier 2 | Tier 3 | | ||
|:------------------|:------------------|:---------| | ||
| macosX64 | linuxX64 | mingwX64 | | ||
| macosArm64 | linuxArm64 | | | ||
| Tier 1 | Tier 2 | Tier 3 | | ||
|:-----------|:-----------|:---------| | ||
| macosX64 | linuxX64 | mingwX64 | | ||
| macosArm64 | linuxArm64 | | | ||
|
||
[1]: https://kotlinlang.org/docs/native-target-support.html | ||
[1]: https://github.com/java-diff-utils/java-diff-utils/wiki | ||
[2]: https://kotlinlang.org/docs/native-target-support.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters