We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4842dcd commit 84a195fCopy full SHA for 84a195f
diff.lisp
@@ -241,6 +241,9 @@
241
(incf modified-start (snake-length snake))
242
(pop lcs)))))
243
244
+(defun compute-raw-diff (origin modified)
245
+ (convert-lcs-to-diff (compute-lcs origin modified)))
246
+
247
248
;;; producing diffs in "unified diff" format
249
package.lisp
@@ -25,4 +25,12 @@
25
#:window-chunks
26
27
#:chunk-kind
28
- #:chunk-lines))
+ #:chunk-lines
29
30
+ #:compute-raw-diff
31
+ #:common-diff-region
32
+ #:modified-diff-region
33
+ #:original-start
34
+ #:original-length
35
+ #:modified-start
36
+ #:modified-length))
0 commit comments