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

Function newReader

testing/dataloader/csvreader_test.go:232–236  ·  view source on GitHub ↗

newReader returns an io.ReadCloser instance that reads the data from the specified string |s| and is a no-op when Close() is called.

(s string)

Source from the content-addressed store, hash-verified

230// newReader returns an io.ReadCloser instance that reads the data from the specified
231// string |s| and is a no-op when Close() is called.
232func newReader(s string) io.ReadCloser {
233 return &testReader{
234 bytes.NewReader([]byte(s)),
235 }
236}

Callers 1

TestCsvReaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected