
Line-by-line path diffing implementation offering diffPaths and diffUtf8Paths, faithful upstream transliteration with zero runtime dependencies, precise path diffs for text and UTF-8 inputs.
This is a Kotlin Multiplatform line-by-line transliteration port of Manishearth/pathdiff.
Original Project: This port is based on Manishearth/pathdiff. All design credit and project intent belong to the upstream authors; this repository is a faithful port to Kotlin Multiplatform with no behavioural changes intended.
This is a completed port of Manishearth/pathdiff to Kotlin Multiplatform (diffPaths and diffUtf8Paths in io.github.kotlinmania.pathdiff), matching upstream src/lib.rs across all 17 retained KMP targets with zero external runtime dependencies.
dependencies {
implementation("io.github.kotlinmania:pathdiff-kotlin:0.1.1")
}./gradlew build
./gradlew testandroidNativeArm64, androidNativeX64)macosArm64, iosArm64, iosSimulatorArm64, tvosArm64, tvosSimulatorArm64, watchosDeviceArm64, watchosSimulatorArm64) + Swift Export (Pathdiff)linuxX64, linuxArm64)mingwX64)js, wasmJs, wasmWasi)See AGENTS.md for translator discipline and Rust → Kotlin idiom mapping.
This Kotlin port is distributed under the same dual-license model as the upstream Manishearth/pathdiff: Apache-2.0 OR MIT. See LICENSE-APACHE, LICENSE-MIT, and LICENSE for the full text.
Original work copyrighted by the pathdiff authors.
Kotlin port: Copyright (c) 2026 Sydney Renee and The Solace Project.
Thanks to the Manishearth/pathdiff maintainers and contributors for the original Rust implementation. This port reproduces their work in Kotlin Multiplatform; bug reports about upstream design or behavior should go to the upstream repository.
This is a Kotlin Multiplatform line-by-line transliteration port of Manishearth/pathdiff.
Original Project: This port is based on Manishearth/pathdiff. All design credit and project intent belong to the upstream authors; this repository is a faithful port to Kotlin Multiplatform with no behavioural changes intended.
This is a completed port of Manishearth/pathdiff to Kotlin Multiplatform (diffPaths and diffUtf8Paths in io.github.kotlinmania.pathdiff), matching upstream src/lib.rs across all 17 retained KMP targets with zero external runtime dependencies.
dependencies {
implementation("io.github.kotlinmania:pathdiff-kotlin:0.1.1")
}./gradlew build
./gradlew testandroidNativeArm64, androidNativeX64)macosArm64, iosArm64, iosSimulatorArm64, tvosArm64, tvosSimulatorArm64, watchosDeviceArm64, watchosSimulatorArm64) + Swift Export (Pathdiff)linuxX64, linuxArm64)mingwX64)js, wasmJs, wasmWasi)See AGENTS.md for translator discipline and Rust → Kotlin idiom mapping.
This Kotlin port is distributed under the same dual-license model as the upstream Manishearth/pathdiff: Apache-2.0 OR MIT. See LICENSE-APACHE, LICENSE-MIT, and LICENSE for the full text.
Original work copyrighted by the pathdiff authors.
Kotlin port: Copyright (c) 2026 Sydney Renee and The Solace Project.
Thanks to the Manishearth/pathdiff maintainers and contributors for the original Rust implementation. This port reproduces their work in Kotlin Multiplatform; bug reports about upstream design or behavior should go to the upstream repository.