MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / readFile

Function readFile

packages/core/src/utils/fs-utils.ts:250–252  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

248 },
249
250 async readFile(path: string): Promise<string> {
251 return nodeReadFile(path, 'utf-8');
252 },
253
254 async writeFile(path: string, data: string, options?: Record<string, any>): Promise<void> {
255 await nodeWriteFile(path, data, options);

Callers 6

handlerMethod · 0.85
initORMMySqlFunction · 0.85
initORMPostgreSqlFunction · 0.85
initORMPgliteFunction · 0.85
initORMSqliteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected