MCPcopy
hub / github.com/prisma/prisma / replaceInSchemas

Function replaceInSchemas

packages/migrate/src/__tests__/rpc.test.ts:768–770  ·  view source on GitHub ↗
(schemas: MultipleSchemas, search: string, replace: string)

Source from the content-addressed store, hash-verified

766})
767
768function replaceInSchemas(schemas: MultipleSchemas, search: string, replace: string): MultipleSchemas {
769 return schemas.map(([path, content]) => [path, content.replace(search, replace)])
770}

Callers 1

rpc.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected