Skip to content

smeans/diffstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiffStream: dynamic multi-channel text diff library

DiffStream is designed to process multiple streams of text into a unified text diff structure. Take these three text samples:

  1. The pen is red.
  2. The pen is not red.
  3. The pen is blue.

When written to the DiffStream, they yield the following text chunks:

2 1 0 value
1 1 1 The Pen is
0 1 0 not
0 1 1 red
1 0 0 blue

Text chunks include a bit mask indicating in which stream the chunk appears.

About

A real-time, multi-stream text diff class for golang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages