MCPcopy
hub / github.com/prisma/prisma / line

Function line

packages/schema-files-loader/src/testUtils.ts:6–8  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

4import { LoadedFile } from './loadSchemaFiles'
5
6export function line(text: string) {
7 return `${text}${process.platform === 'win32' ? '\r\n' : '\n'}`
8}
9
10export function fixturePath(...parts: string[]) {
11 return path.join(__dirname, '__fixtures__', ...parts)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…