MCPcopy
hub / github.com/prisma/prisma / loadedFile

Function loadedFile

packages/schema-files-loader/src/testUtils.ts:14–17  ·  view source on GitHub ↗
(...parts: string[])

Source from the content-addressed store, hash-verified

12}
13
14export function loadedFile(...parts: string[]): LoadedFile {
15 const filePath = fixturePath(...parts)
16 return [filePath, fs.readFileSync(filePath, 'utf8')]
17}

Calls 1

fixturePathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…