MCPcopy Create free account
hub / github.com/Effect-TS/effect / endRecord

Method endRecord

packages/effect/src/encoding/Csv.ts:253–261  ·  view source on GitHub ↗
(size: number, out: Array<Parsed>)

Source from the content-addressed store, hash-verified

251 }
252
253 endRecord(size: number, out: Array<Parsed>): void {
254 this.checkSize(size)
255 if (size > 0 || !this.ignoreEmptyLines) {
256 out.push({ cells: this.cells, record: this.record, line: this.recordLine })
257 }
258 this.cells = []
259 this.size = 0
260 this.record++
261 }
262
263 countLines(text: string, start: number, end: number): void {
264 for (let i = start; i < end; i++) {

Callers 2

feedMethod · 0.95
endMethod · 0.95

Calls 2

checkSizeMethod · 0.95
pushMethod · 0.65

Tested by

no test coverage detected