struct

C0::Diff::Section

Inherits Struct / Value / Object

A section is a sequential pattern of units (anchors + substitutions).

Constructors

new(units : Array(C0::Diff::Sub | Slice(UInt8)))
Source

Instance methods

replacement

Build the replacement (new text concatenated).

Source
search_pattern

Build the search pattern (old text concatenated).

Source
units
Source