Structures

The following structures are available globally.

  • A sequence of deletions and insertions where deletions point to locations in the source and insertions point to locations in the output. Examples:

    "12" -> "": D(0)D(1)
    "" -> "12": I(0)I(1)
    

    See also

    Diff
    See more

    Declaration

    Swift

    public struct Diff : DiffProtocol
  • Undocumented

    See more

    Declaration

    Swift

    public struct Point : Hashable
  • A data structure representing single trace produced by the diff algorithm. See the paper for more information on traces.

    See more

    Declaration

    Swift

    public struct Trace : Hashable
  • A sequence of deletions, insertions, and moves where deletions point to locations in the source and insertions point to locations in the output. Examples:

    "12" -> "": D(0)D(1)
    "" -> "12": I(0)I(1)
    

    See also

    Diff
    See more

    Declaration

    Swift

    public struct ExtendedDiff : DiffProtocol