Skip to content

A ruby helper to decode diff deltas produced by diff-match-patch

Notifications You must be signed in to change notification settings

thehenster/diff_from_delta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== diff_from_delta

diff_from_delta converts delta strings produced by diff-match-patch ( http://code.google.com/p/google-diff-match-patch/ ) back to an array of diffs.

Usage:

To get the compiled string..

DiffFromDelta::compile_diff_from_delta(original_text, delta_string)

For the actual diff array..

DiffFromDelta::diff_from_delta(original_text, delta_string)

About

A ruby helper to decode diff deltas produced by diff-match-patch

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages