MCPcopy
hub / github.com/prisma/prisma / indentedCurrentLine

Method indentedCurrentLine

packages/ts-builders/src/Writer.ts:165–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 }
164
165 private indentedCurrentLine(): string {
166 const line = this.currentLine.padStart(this.currentLine.length + INDENT_SIZE * this.currentIndent)
167 if (this.marginSymbol) {
168 return this.marginSymbol + line.slice(1)
169 }
170 return line
171 }
172}

Callers 2

newLineMethod · 0.95
toStringMethod · 0.95

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected