MCPcopy Create free account

hub / github.com/aryann/difflib / functions

Functions14 in github.com/aryann/difflib

↓ 2 callersFunctionDiff
Diff returns the result of diffing the seq1 and seq2.
difflib.go:52
↓ 2 callersFunctionfileToLines
filesToLines takes a path to a file and returns a string array of the lines in the file. Any HTML in the file is escaped.
difflib_server/difflib_demo.go:94
↓ 2 callersFunctionlongestCommonSubsequenceMatrix
longestCommonSubsequenceMatrix returns the table that results from applying the dynamic programming approach for finding the longest common subsequenc
difflib.go:142
↓ 2 callersFunctionnumEqualStartAndEndElements
numEqualStartAndEndElements returns the number of elements a and b have in common from the beginning and from the end. If a and b are equal, start wil
difflib.go:116
↓ 1 callersFunctionHTMLDiff
HTMLDiff returns the results of diffing seq1 and seq2 as an HTML string. The resulting HTML is a table without the opening and closing table tags. Eac
difflib.go:83
↓ 1 callersMethodString
String returns a string representation for DeltaType.
difflib.go:28
↓ 1 callersFunctioncompute
compute is the unexported helper for Diff that returns the results of diffing left and right.
difflib.go:159
↓ 1 callersFunctiondiffHandler
diffHandler returns an http.HandlerFunc that serves the diff of the two given files.
difflib_server/difflib_demo.go:77
↓ 1 callersFunctionintMatrix
intMatrix returns a 2-dimensional slice of ints with the given number of rows and columns.
difflib.go:131
MethodString
String returns a string representation of d. The string is a concatenation of the delta type and the payload.
difflib.go:47
FunctionTestDiff
(t *testing.T)
difflib_test.go:211
FunctionTestLongestCommonSubsequenceMatrix
(t *testing.T)
difflib_test.go:22
FunctionTestNumEqualStartAndEndElements
(t *testing.T)
difflib_test.go:50
Functionmain
()
difflib_server/difflib_demo.go:62