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

Method readFile

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

Source from the content-addressed store, hash-verified

28 relativePath(path: string, relativeTo: string): string;
29 absolutePath(path: string, baseDir?: string): string;
30 readFile(path: string): Promise<string>;
31 writeFile(path: string, data: string, options?: Record<string, any>): Promise<void>;
32 unlink(path: string): Promise<void>;
33 dynamicImport<T = any>(id: string): Promise<T>;

Callers 1

rollupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected