Skip to content

shazow/go-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc License Build Status

go-diff

Library for generating Git-style diff patchsets in Go.

Built to be used in the pure-Go implementation of the Git backend for sourcegraph's go-vcs.

Status: Prototyping. None of the backends produce complete output yet, but the difflib one is closest and least broken.

Features

  • Git-style patch headers for each file (are there other styles to support?).
  • Bring your own diff algorithm by implementing the Differ interface.
  • Includes a few diffing backends:

Sponsors

Work on this package is sponsored by Sourcegraph.

License

MIT.

About

Library for generating Git-style diff patchsets in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages