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

Function stringsToBytes

texteditor/difflib/bytes/bytes_test.go:37–43  ·  view source on GitHub ↗
(in ...string)

Source from the content-addressed store, hash-verified

35}
36
37func stringsToBytes(in ...string) (out [][]byte) {
38 out = make([][]byte, len(in))
39 for i, s := range in {
40 out[i] = []byte(s)
41 }
42 return
43}
44
45func bytesToStrings(in ...[]byte) (out []string) {
46 out = make([]string, len(in))

Callers 10

TestOmitFilenamesFunction · 0.85
TestSplitLinesFunction · 0.85
prepareFilesToDiffFunction · 0.85
TestDifferCompareFunction · 0.85
TestDifferStructuredDumpFunction · 0.85
TestDifferDumpFunction · 0.85
TestDifferPlainReplaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected