MCPcopy Create free account
hub / github.com/cogentcore/core / listifyString

Function listifyString

texteditor/difflib/difflib.go:35–41  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

33}
34
35func listifyString(str string) (lst []string) {
36 lst = make([]string, len(str))
37 for i, c := range str {
38 lst[i] = string(c)
39 }
40 return lst
41}
42
43type Match struct {
44 A int

Callers 2

TestListifyStringFunction · 0.70
FancyReplaceMethod · 0.70

Calls

no outgoing calls

Tested by 1

TestListifyStringFunction · 0.56