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

Method end

packages/effect/src/encoding/Csv.ts:375–383  ·  view source on GitHub ↗
(out: Array<Parsed>)

Source from the content-addressed store, hash-verified

373 }
374
375 end(out: Array<Parsed>): void {
376 if (this.state === QUOTED) throw this.fail("Syntax", "Unterminated quoted field")
377 if (this.size > 0 || this.cells.length > 0) {
378 this.cells.push(this.field)
379 this.field = ""
380 this.state = FIELD_START
381 this.endRecord(this.size, out)
382 }
383 }
384}
385
386interface Decoded {

Callers 1

decodeRecordsFunction · 0.95

Calls 3

failMethod · 0.95
endRecordMethod · 0.95
pushMethod · 0.65

Tested by

no test coverage detected