This is the diff Reference Manual, version 0.4, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 08 17:56:47 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
diff
Nathan Froyd <froydnj@gmail.com>
Nathan Froyd <froydnj@gmail.com>
0.4
cl-ppcre
(system).
trivial-gray-streams
(system).
package.lisp
(file).
diff.lisp
(file).
patch.lisp
(file).
vdelta.lisp
(file).
svndiff.lisp
(file).
readme
(file).
todo
(file).
news
(file).
license
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
diff/diff.lisp
package.lisp
(file).
diff
(system).
*diff-context-lines*
(special variable).
apply-seq-diff
(function).
apply-seq-window
(function).
chunk-kind
(reader method).
chunk-kind
(type).
chunk-lines
(reader method).
common-diff-region
(class).
compute-raw-diff
(function).
compute-raw-seq-diff
(function).
context-diff
(class).
diff
(reader method).
diff
(class).
diff-window
(class).
diff-window-class
(reader method).
diff-windows
(reader method).
(setf diff-windows)
(writer method).
format-diff
(function).
format-diff-string
(function).
generate-diff
(function).
generate-seq-diff
(function).
modified-diff-region
(class).
modified-length
(reader method).
modified-length
(reader method).
(setf modified-length)
(writer method).
modified-pathname
(reader method).
(setf modified-pathname)
(writer method).
modified-start
(reader method).
modified-start-line
(reader method).
(setf modified-start-line)
(writer method).
original-length
(reader method).
original-length
(reader method).
(setf original-length)
(writer method).
original-pathname
(reader method).
(setf original-pathname)
(writer method).
original-start
(reader method).
original-start-line
(reader method).
(setf original-start-line)
(writer method).
print-object
(method).
print-object
(method).
print-object
(method).
render-diff
(generic function).
render-diff-window
(generic function).
unified-diff
(class).
window-chunks
(reader method).
(setf window-chunks)
(writer method).
add-window
(function).
chunk
(class).
code-to-object-table
(reader method).
(setf code-to-object-table)
(writer method).
compute-lcs
(function).
compute-lcs*
(function).
context-diff-window
(class).
convert-lcs-to-diff
(function).
create-diff-generator
(function).
create-window
(function).
create-window-for-diff
(function).
current-window
(reader method).
(setf current-window)
(writer method).
diff-generator
(class).
diff-region
(class).
do-file-lines
(macro).
do-stream-lines
(macro).
intern-files
(function).
intern-seqs
(function).
intern-string
(function).
interned-object
(function).
interner
(reader method).
interner
(class).
last-code
(reader method).
(setf last-code)
(writer method).
last-region-p
(function).
lcs
(reader method).
(setf lcs)
(writer method).
make-interner
(function).
modified-chunk-p
(function).
modified-end
(function).
modified-line
(function).
modified-lines
(reader method).
modified-offset
(reader method).
(setf modified-offset)
(writer method).
modified-window-length
(function).
object-to-code-table
(reader method).
original-chunk-p
(function).
original-line
(function).
original-lines
(reader method).
original-offset
(reader method).
(setf original-offset)
(writer method).
original-window-length
(function).
process-region
(generic function).
snake
(function).
snake
(class).
snake-length
(reader method).
(setf snake-length)
(writer method).
unified-diff-window
(class).
walk-diff-regions
(function).
window-contains-deletes-p
(function).
window-contains-inserts-p
(function).
diff/patch.lisp
diff.lisp
(file).
diff
(system).
apply-patch
(function).
apply-seq-patch
(function).
diff
(reader method).
*context-diff-header-modified-line*
(special variable).
*context-diff-header-original-line*
(special variable).
*context-diff-line*
(special variable).
*context-diff-window-header*
(special variable).
*context-diff-window-modified-line*
(special variable).
*context-diff-window-original-line*
(special variable).
*context-modified-lead-char-alist*
(special variable).
*context-original-lead-char-alist*
(special variable).
*default-lead-char-alist*
(special variable).
*index-header-line*
(special variable).
*number-regex*
(special variable).
*prereq-header-line*
(special variable).
*unified-diff-header-modified-line*
(special variable).
*unified-diff-header-original-line*
(special variable).
*unified-diff-line*
(special variable).
*unified-diff-window-header*
(special variable).
anchored-line
(function).
collect-window-lines
(function).
consolidate-chunks
(function).
index-file
(reader method).
line-generator
(class).
line-stream
(reader method).
(setf line-stream)
(writer method).
line-to-chunk
(function).
make-line-generator
(function).
merge-context-chunks
(function).
patch
(class).
peek-line
(function).
peeked-line
(reader method).
(setf peeked-line)
(writer method).
prereq-string
(reader method).
read-diff-window
(generic function).
read-patch
(function).
read-patches-from-file
(function).
yield-line
(function).
diff/vdelta.lisp
package.lisp
(file).
diff
(system).
stream-write-byte
(method).
+buffer-size+
(constant).
buffer
(reader method).
buffer
(reader method).
(setf buffer)
(writer method).
byte-buffer-stream
(class).
bytebuf
(type).
calculate-svndiff-ops
(function).
combine-bytes
(function).
copy-svndiff-op
(function).
copy-svndiff-window
(function).
index
(reader method).
(setf index)
(writer method).
initialize-match-table
(function).
key-to-chars
(function).
make-svndiff-op
(function).
make-svndiff-window
(function).
match-length
(function).
op-kind
(type).
print-match-table
(function).
source-length
(reader method).
(setf source-length)
(writer method).
source-start
(reader method).
(setf source-start)
(writer method).
string-to-byteseq
(function).
svndiff-op
(structure).
svndiff-op-bytes
(reader).
(setf svndiff-op-bytes)
(writer).
svndiff-op-kind
(reader).
(setf svndiff-op-kind)
(writer).
svndiff-op-offset
(reader).
(setf svndiff-op-offset)
(writer).
svndiff-op-p
(function).
svndiff-window
(structure).
svndiff-window-new-data
(reader).
(setf svndiff-window-new-data)
(writer).
svndiff-window-ops
(reader).
(setf svndiff-window-ops)
(writer).
svndiff-window-p
(function).
svndiff-window-source-len
(reader).
(setf svndiff-window-source-len)
(writer).
svndiff-window-source-offset
(reader).
(setf svndiff-window-source-offset)
(writer).
svndiff-window-target-len
(reader).
(setf svndiff-window-target-len)
(writer).
table
(reader method).
(setf table)
(writer method).
target-length
(reader method).
(setf target-length)
(writer method).
target-start
(reader method).
(setf target-start)
(writer method).
vdelta-context
(class).
with-binary-file
(macro).
diff/svndiff.lisp
package.lisp
(file).
vdelta.lisp
(file).
diff
(system).
compare-files
(function).
construct-svndiff-window
(function).
instruction-buffer-length
(function).
instruction-length
(function).
new-data-buffer-length
(function).
read-svndiff-integer
(function).
read-svndiff-window
(function).
svndiff-integer-length
(function).
write-svndiff
(function).
write-svndiff-integer
(function).
write-svndiff-op
(function).
write-svndiff-window
(function).
Packages are listed by definition order.
diff
common-lisp
.
*diff-context-lines*
(special variable).
apply-patch
(function).
apply-seq-diff
(function).
apply-seq-patch
(function).
apply-seq-window
(function).
chunk-kind
(generic reader).
chunk-kind
(type).
chunk-lines
(generic reader).
common-diff-region
(class).
compute-raw-diff
(function).
compute-raw-seq-diff
(function).
context-diff
(class).
diff
(generic reader).
diff
(class).
diff-window
(class).
diff-window-class
(generic reader).
diff-windows
(generic reader).
(setf diff-windows)
(generic writer).
format-diff
(function).
format-diff-string
(function).
generate-diff
(function).
generate-seq-diff
(function).
modified-diff-region
(class).
modified-length
(generic reader).
(setf modified-length)
(generic writer).
modified-pathname
(generic reader).
(setf modified-pathname)
(generic writer).
modified-start
(generic reader).
modified-start-line
(generic reader).
(setf modified-start-line)
(generic writer).
original-length
(generic reader).
(setf original-length)
(generic writer).
original-pathname
(generic reader).
(setf original-pathname)
(generic writer).
original-start
(generic reader).
original-start-line
(generic reader).
(setf original-start-line)
(generic writer).
render-diff
(generic function).
render-diff-window
(generic function).
unified-diff
(class).
window-chunks
(generic reader).
(setf window-chunks)
(generic writer).
*context-diff-header-modified-line*
(special variable).
*context-diff-header-original-line*
(special variable).
*context-diff-line*
(special variable).
*context-diff-window-header*
(special variable).
*context-diff-window-modified-line*
(special variable).
*context-diff-window-original-line*
(special variable).
*context-modified-lead-char-alist*
(special variable).
*context-original-lead-char-alist*
(special variable).
*default-lead-char-alist*
(special variable).
*index-header-line*
(special variable).
*number-regex*
(special variable).
*prereq-header-line*
(special variable).
*unified-diff-header-modified-line*
(special variable).
*unified-diff-header-original-line*
(special variable).
*unified-diff-line*
(special variable).
*unified-diff-window-header*
(special variable).
+buffer-size+
(constant).
add-window
(function).
anchored-line
(function).
buffer
(generic reader).
(setf buffer)
(generic writer).
byte-buffer-stream
(class).
bytebuf
(type).
calculate-svndiff-ops
(function).
chunk
(class).
code-to-object-table
(generic reader).
(setf code-to-object-table)
(generic writer).
collect-window-lines
(function).
combine-bytes
(function).
compare-files
(function).
compute-lcs
(function).
compute-lcs*
(function).
consolidate-chunks
(function).
construct-svndiff-window
(function).
context-diff-window
(class).
convert-lcs-to-diff
(function).
copy-svndiff-op
(function).
copy-svndiff-window
(function).
create-diff-generator
(function).
create-window
(function).
create-window-for-diff
(function).
current-window
(generic reader).
(setf current-window)
(generic writer).
diff-generator
(class).
diff-region
(class).
do-file-lines
(macro).
do-stream-lines
(macro).
index
(generic reader).
(setf index)
(generic writer).
index-file
(generic reader).
initialize-match-table
(function).
instruction-buffer-length
(function).
instruction-length
(function).
intern-files
(function).
intern-seqs
(function).
intern-string
(function).
interned-object
(function).
interner
(generic reader).
interner
(class).
key-to-chars
(function).
last-code
(generic reader).
(setf last-code)
(generic writer).
last-region-p
(function).
lcs
(generic reader).
(setf lcs)
(generic writer).
line-generator
(class).
line-stream
(generic reader).
(setf line-stream)
(generic writer).
line-to-chunk
(function).
make-interner
(function).
make-line-generator
(function).
make-svndiff-op
(function).
make-svndiff-window
(function).
match-length
(function).
merge-context-chunks
(function).
modified-chunk-p
(function).
modified-end
(function).
modified-line
(function).
modified-lines
(generic reader).
modified-offset
(generic reader).
(setf modified-offset)
(generic writer).
modified-window-length
(function).
new-data-buffer-length
(function).
object-to-code-table
(generic reader).
op-kind
(type).
original-chunk-p
(function).
original-line
(function).
original-lines
(generic reader).
original-offset
(generic reader).
(setf original-offset)
(generic writer).
original-window-length
(function).
patch
(class).
peek-line
(function).
peeked-line
(generic reader).
(setf peeked-line)
(generic writer).
prereq-string
(generic reader).
print-match-table
(function).
process-region
(generic function).
read-diff-window
(generic function).
read-patch
(function).
read-patches-from-file
(function).
read-svndiff-integer
(function).
read-svndiff-window
(function).
snake
(function).
snake
(class).
snake-length
(generic reader).
(setf snake-length)
(generic writer).
source-length
(generic reader).
(setf source-length)
(generic writer).
source-start
(generic reader).
(setf source-start)
(generic writer).
string-to-byteseq
(function).
svndiff-integer-length
(function).
svndiff-op
(structure).
svndiff-op-bytes
(reader).
(setf svndiff-op-bytes)
(writer).
svndiff-op-kind
(reader).
(setf svndiff-op-kind)
(writer).
svndiff-op-offset
(reader).
(setf svndiff-op-offset)
(writer).
svndiff-op-p
(function).
svndiff-window
(structure).
svndiff-window-new-data
(reader).
(setf svndiff-window-new-data)
(writer).
svndiff-window-ops
(reader).
(setf svndiff-window-ops)
(writer).
svndiff-window-p
(function).
svndiff-window-source-len
(reader).
(setf svndiff-window-source-len)
(writer).
svndiff-window-source-offset
(reader).
(setf svndiff-window-source-offset)
(writer).
svndiff-window-target-len
(reader).
(setf svndiff-window-target-len)
(writer).
table
(generic reader).
(setf table)
(generic writer).
target-length
(generic reader).
(setf target-length)
(generic writer).
target-start
(generic reader).
(setf target-start)
(generic writer).
unified-diff-window
(class).
vdelta-context
(class).
walk-diff-regions
(function).
window-contains-deletes-p
(function).
window-contains-inserts-p
(function).
with-binary-file
(macro).
write-svndiff
(function).
write-svndiff-integer
(function).
write-svndiff-op
(function).
write-svndiff-window
(function).
yield-line
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The number of lines of context to include for unified and context style diffs. The ’patch’ program will have a hard time with less than two lines of context; the default of three should be good enough for most situations.
Apply DIFF to the sequence ORIGINAL-SEQ.
Apply PATCH to the sequence ORIGINAL-SEQ.
diff
.
Apply the edits encoded in WINDOW to the ORIGINAL-SEQ.
Compute a diff between ORIGINAL-PATHNAME and MODIFIED-PATHNAME. DIFF-KIND indicates the type of DIFF generated and should be the symbol DIFF:UNIFIED-DIFF or DIFF:CONTEXT-DIFF.
Compute a diff between ORIGINAL-PATHNAME and MODIFIED-PATHNAME.
diff
.
diff-window
)) ¶automatically generated reader method
diff-region
)) ¶automatically generated reader method
diff
.
diff-window
)) ¶automatically generated writer method
diff
.
diff-region
)) ¶automatically generated reader method
diff
.
diff-window
)) ¶automatically generated reader method
diff
.
diff-window
)) ¶automatically generated writer method
diff
.
diff-window
)) ¶automatically generated reader method
diff-region
)) ¶automatically generated reader method
diff
.
diff-window
)) ¶automatically generated writer method
diff
.
diff-region
)) ¶automatically generated reader method
diff
.
diff-window
)) ¶automatically generated reader method
diff
.
diff-window
)) ¶automatically generated writer method
Print DIFF object to STREAM
diff
.
context-diff
) stream) ¶unified-diff
) stream) ¶Print WINDOW to STREAM
diff
.
context-diff-window
) stream) ¶unified-diff-window
) stream) ¶context-diff-window
) stream) ¶unified-diff-window
) stream) ¶diff
.
diff-window
)) ¶automatically generated reader method
diff
.
diff-window
)) ¶automatically generated writer method
diff-region
) stream) ¶byte-buffer-stream
) byte) ¶sb-gray
.
diff
.
:original-pathname
:modified-pathname
:window-class
This slot is read-only.
diff
.
:original-start-line
:modified-start-line
0
:original-length
0
:modified-length
A wrapper for WITH-OPEN-FILE that opens the stream with an element-type of (UNSIGNED-BYTE 8). DIRECTION is passed as the argument to :DIRECTION.
diff
.
Return a list of svndiff windows describing the differences between SOURCE-FILENAME and TARGET-FILENAME.
diff
.
diff
.
Compute the length of the instruction buffer for a window containing the instructions in INSTLIST.
diff
.
Compute the number of bytes needed to represent OP when it is svndiff encoded.
diff
.
diff
.
Compute the length of the new data buffer for a window containing the instructions in INSTLIST.
diff
.
Reads a svndiff-encoded integer from STREAM.
diff
.
Convert STRING to an array of (UNSIGNED-BYTE 8). Assumes that the Common Lisp implementation is underpinned with 8-bit characters.
diff
.
diff
.
diff
.
diff
.
diff
.
diff
.
diff
.
Writes a svndiff document to STREAM using the information in WINDOWS, which is a list of SVNDIFF-WINDOWs.
diff
.
Writes the non-negative INTEGER to STREAM using svndiff encoding.
diff
.
Writes the svndiff window WINDOW to STREAM.
diff
.
diff
.
vdelta-context
)) ¶automatically generated reader method
byte-buffer-stream
)) ¶automatically generated reader method
diff
.
byte-buffer-stream
)) ¶automatically generated writer method
diff
.
diff-generator
)) ¶automatically generated reader method
diff
.
diff-generator
)) ¶automatically generated writer method
diff
.
byte-buffer-stream
)) ¶automatically generated reader method
diff
.
byte-buffer-stream
)) ¶automatically generated writer method
diff
.
diff-generator
)) ¶automatically generated reader method
diff
.
line-generator
)) ¶automatically generated reader method
diff
.
line-generator
)) ¶automatically generated writer method
diff
.
diff-generator
)) ¶automatically generated reader method
diff
.
diff-generator
)) ¶automatically generated reader method
diff
.
line-generator
)) ¶automatically generated reader method
diff
.
line-generator
)) ¶automatically generated writer method
diff
.
diff-generator
) (region modified-diff-region
)) ¶diff-generator
) (region common-diff-region
)) ¶diff
.
context-diff
)) ¶unified-diff
)) ¶diff
.
vdelta-context
)) ¶automatically generated reader method
diff
.
vdelta-context
)) ¶automatically generated writer method
diff
.
vdelta-context
)) ¶automatically generated reader method
diff
.
vdelta-context
)) ¶automatically generated writer method
diff
.
vdelta-context
)) ¶automatically generated reader method
diff
.
vdelta-context
)) ¶automatically generated writer method
diff
.
vdelta-context
)) ¶automatically generated reader method
diff
.
vdelta-context
)) ¶automatically generated writer method
diff
.
vdelta-context
)) ¶automatically generated reader method
diff
.
vdelta-context
)) ¶automatically generated writer method
diff
.
structure-object
.
(unsigned-byte 32)
0
(unsigned-byte 32)
0
(unsigned-byte 32)
0
diff::bytebuf
(error "required argument")
diff::bytebuf
(error "required argument")
diff
.
:original-start
This slot is read-only.
:original-length
This slot is read-only.
:modified-start
This slot is read-only.
:modified-length
This slot is read-only.
diff
.
(make-array (* 2 diff::+buffer-size+) :element-type (quote (unsigned-byte 8)))
This slot is read-only.
0
0
0
0
(make-hash-table :test (function eql))
Jump to: | (
A B C D F G I K L M N O P R S T W Y |
---|
Jump to: | (
A B C D F G I K L M N O P R S T W Y |
---|
Jump to: | *
+
B C D I K L M N O P S T W |
---|
Jump to: | *
+
B C D I K L M N O P S T W |
---|
Jump to: | B C D F I L M N O P R S T U V |
---|
Jump to: | B C D F I L M N O P R S T U V |
---|