MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / nextRune

Function nextRune

pkg/util/encoding/csv/reader.go:262–265  ·  view source on GitHub ↗

nextRune returns the next rune in b or utf8.RuneError.

(b []byte)

Source from the content-addressed store, hash-verified

260
261// nextRune returns the next rune in b or utf8.RuneError.
262func nextRune(b []byte) rune {
263 r, _ := utf8.DecodeRune(b)
264 return r
265}
266
267func (r *Reader) readRecord(dst []string) ([]string, error) {
268 if r.Comma == r.Comment || !validDelim(r.Comma) || (r.Comment != 0 && !validDelim(r.Comment)) {

Callers 1

readRecordMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…