MCPcopy Create free account
hub / github.com/simstudioai/sim / getCharacterPosition

Method getCharacterPosition

apps/sim/lib/chunkers/docs-chunker.ts:298–300  ·  view source on GitHub ↗
(lines: string[], lineIndex: number)

Source from the content-addressed store, hash-verified

296 }
297
298 private getCharacterPosition(lines: string[], lineIndex: number): number {
299 return lines.slice(0, lineIndex).reduce((acc, line) => acc + line.length + 1, 0)
300 }
301
302 private mergeTableChunks(
303 chunks: string[],

Callers 1

detectTableBoundariesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected