diff

package
v0.2.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package diff provides facilities to represent the differences between two document texts as a sequence of document.Change records.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(f document.Handle, before, after []byte) document.Changes

Diff calculates difference between the document's content and after byte sequence and returns it as document.Changes

Types

This section is empty.

Jump to

Keyboard shortcuts

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