pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/ziglibs/diffz

="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-0b53c3bf3393e2ed.css" /> GitHub - ziglibs/diffz: Implementation of go-diff's diffmatchpatch in Zig
Skip to content

ziglibs/diffz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diffz

An implementation of Google's diff-match-patch.

Currently implemented:

  • Diff
  • Match
  • Patch

Installation

Note

The minimum supported Zig version is 0.16.0-dev.2510+bcb5218a2. Consider using previous commits when targeting older Zig version like 0.15.2.

# Initialize a `zig build` project if you haven't already
zig init
# Add the `diffz` package to your `build.zig.zon`
zig fetch --save git+https://github.com/ziglibs/diffz.git

You can then import diffz in your build.zig with:

const diffz = b.dependency("diffz", .{});
const exe = b.addExecutable(...);
exe.root_module.addImport("diffz", diffz.module("diffz"));

License

This library is based off of https://github.com/google/diff-match-patch, which is licensed under the Apache License 2.0. This library itself is licensed under the MIT License, see LICENSE.

About

Implementation of go-diff's diffmatchpatch in Zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy