MCPcopy Create free account
hub / github.com/alefore/knit / computeRow

Method computeRow

src/cable_pattern_factory.ts:168–170  ·  view source on GitHub ↗
(row: number)

Source from the content-addressed store, hash-verified

166 }
167
168 computeRow(row: number): Row {
169 return (row % 2 == 0) ? this.#cablesRow(row / 2) : this.#lameRow();
170 }
171
172 #cablesRow(row: number): Row {
173 if (row >= this.positions.length)

Callers 2

buildMethod · 0.95
#buildPartMethod · 0.80

Calls 2

#cablesRowMethod · 0.95
#lameRowMethod · 0.95

Tested by

no test coverage detected