Prelude API
    Preparing search index...

    Function myers

    • Calculate diff based on Myers algorithm.

      Parameters

      • sourceLines: string[]

        The source sequence of strings.

      • targetLines: string[]

        The target sequence of strings.

      Returns L.Diff.T[]

      An array of operations representing the diff.