lhns / scala-diff-utils

Diff Utils library is an OpenSource library for performing the comparison / diff operations between texts or some kind of data: computing diffs, applying patches, generating unified diffs or parsing them, generating diff output for easy future displaying (like side-by-side view) and so on.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scala-diff-utils

Test Workflow Release Notes Maven Central Apache License 2.0 Scala Steward badge

This is a scala fork of java-diff-utils/java-diff-utils.

Diff Utils library is an OpenSource library for performing the comparison operations between texts: computing diffs, applying patches, generating unified diffs or parsing them, generating diff output for easy future displaying (like side-by-side view) and so on.

Main reason to build this library was the lack of easy-to-use libraries with all the usual stuff you need while working with diff files. Originally it was inspired by JRCS library and it's nice design of diff module.

Usage

build.sbt

// use this snippet for the JVM
libraryDependencies += "de.lolhens" %% "scala-diff-utils" % "1.1.1"

// use this snippet for JS, or cross-building
libraryDependencies += "de.lolhens" %%% "scala-diff-utils" % "1.1.1"

License

This project uses the Apache 2.0 License. See the file called LICENSE.

About

Diff Utils library is an OpenSource library for performing the comparison / diff operations between texts or some kind of data: computing diffs, applying patches, generating unified diffs or parsing them, generating diff output for easy future displaying (like side-by-side view) and so on.

License:Apache License 2.0


Languages

Language:Scala 55.5%Language:Shell 44.5%