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

Function bytesToStrings

texteditor/difflib/bytes/bytes_test.go:45–51  ·  view source on GitHub ↗
(in ...[]byte)

Source from the content-addressed store, hash-verified

43}
44
45func bytesToStrings(in ...[]byte) (out []string) {
46 out = make([]string, len(in))
47 for i, s := range in {
48 out[i] = string(s)
49 }
50 return
51}
52
53func TestListifyString(t *testing.T) {
54 lst := listifyString([]byte("qwerty"))

Callers 5

TestDifferCompareFunction · 0.85
TestDifferDumpFunction · 0.85
TestDifferPlainReplaceFunction · 0.85
TestDifferQFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected