MCPcopy Create free account
hub / github.com/dolthub/doltgresql / StringSlice

Method StringSlice

utils/writer.go:271–276  ·  view source on GitHub ↗

StringSlice writes a string slice.

(vals []string)

Source from the content-addressed store, hash-verified

269
270// StringSlice writes a string slice.
271func (writer *Writer) StringSlice(vals []string) {
272 writer.VariableUint(uint64(len(vals)))
273 for i := range vals {
274 writer.String(vals[i])
275 }
276}
277
278// StringMap writes a map of strings, keyed by strings.
279func (writer *Writer) StringMap(m map[string]string) {

Callers 5

TestWriterReaderFunction · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95
SerializeTrackersFunction · 0.95

Calls 2

VariableUintMethod · 0.95
StringMethod · 0.95

Tested by 1

TestWriterReaderFunction · 0.76