MCPcopy Create free account
hub / github.com/breck7/scroll / fromTsv

Method fromTsv

external/.scrollLibs.js:17649–17651  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

17647 return this.fromDelimited(str, " ", '"')
17648 }
17649 static fromTsv(str) {
17650 return this.fromDelimited(str, "\t", '"')
17651 }
17652 static fromDelimited(str, delimiter, quoteChar = '"') {
17653 str = str.replace(/\r/g, "") // remove windows newlines if present
17654 const rows = this._getEscapedRows(str, delimiter, quoteChar)

Callers 2

fromDiskMethod · 0.95
importCommandMethod · 0.80

Calls 1

fromDelimitedMethod · 0.95

Tested by

no test coverage detected