MCPcopy
hub / github.com/prisma/prisma / writeLine

Method writeLine

packages/ts-builders/src/Writer.ts:66–68  ·  view source on GitHub ↗

* Adds a string to current line, flushes current line and starts a new line. * @param line * @returns

(line: string | BasicBuilder<ContextType>)

Source from the content-addressed store, hash-verified

64 * @returns
65 */
66 writeLine(line: string | BasicBuilder<ContextType>): this {
67 return this.write(line).newLine()
68 }
69
70 /**
71 * Flushes current line and starts a new line. New line starts at previously configured indentation level

Callers 15

buildTypedQueryCjsFunction · 0.95
buildTypedQueryEsmFunction · 0.95
buildIndexCjsFunction · 0.95
buildIndexEsmFunction · 0.95
writeWithContentsMethod · 0.80
writeFunction · 0.80
writeWithItemsMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
Writer.test.tsFile · 0.80

Calls 2

writeMethod · 0.95
newLineMethod · 0.80

Tested by

no test coverage detected