Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ listifyString
Function
listifyString
texteditor/difflib/bytes/bytes.go:36–42 ·
view source on GitHub ↗
(str []byte)
Source
from the content-addressed store, hash-verified
34
}
35
36
func
listifyString(str []byte) (lst [][]byte) {
37
lst = make([][]byte, len(str))
38
for
i :=
range
str {
39
lst[i] = str[i : i+1]
40
}
41
return
lst
42
}
43
44
type
Match
struct
{
45
A int
Callers
2
TestListifyString
Function · 0.70
FancyReplace
Method · 0.70
Calls
no outgoing calls
Tested by
1
TestListifyString
Function · 0.56