diff

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2025 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(oldReader, newReader io.Reader, patchWriter io.Writer) (err error)

Diff generates a raw patch from old content that will be read in completely from oldReader and new content that will be read in completely from newReader and saves that patch to patchWriter.

It may be helpful to save away the new content size along with the actual patch as it will be needed in order to reuse the patch.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL