Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ NewDiffer
Function
NewDiffer
texteditor/difflib/bytes/bytes.go:612–614 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
610
}
611
612
func
NewDiffer() *Differ {
613
return
&Differ{}
614
}
615
616
var
MINUS = []byte(
"-"
)
617
var
SPACE = []byte(
" "
)
Callers
7
BenchmarkDiffer
Function · 0.70
TestDifferCompare
Function · 0.70
TestDifferStructuredDump
Function · 0.70
TestDifferDump
Function · 0.70
TestDifferPlainReplace
Function · 0.70
TestDifferFancyReplaceAndHelper
Function · 0.70
TestDifferQFormat
Function · 0.70
Calls
no outgoing calls
Tested by
7
BenchmarkDiffer
Function · 0.56
TestDifferCompare
Function · 0.56
TestDifferStructuredDump
Function · 0.56
TestDifferDump
Function · 0.56
TestDifferPlainReplace
Function · 0.56
TestDifferFancyReplaceAndHelper
Function · 0.56
TestDifferQFormat
Function · 0.56