Skip to content

A text lines diff library for .Net. This library is a simple wrapper for the rust crate similar.

Notifications You must be signed in to change notification settings

BearOffice/SimilarNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimilarNet

A text lines diff library.
This library is a simple wrapper for the rust crate similar.

How to use

var hunks= Similar.DiffTexts("b\nc\nd\nd", "a\nb\nC\nd\nd\nx");

How to build

  1. Run the following command in the rust project (./similar-rs)
cargo build --release
  1. Place the built similar-rs.dll to ./SimilarNet/SimilarNet.
  2. Build the nupkg in c# project.

About

A text lines diff library for .Net. This library is a simple wrapper for the rust crate similar.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published