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

Method absolutePath

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

Source from the content-addressed store, hash-verified

27 normalizePath(...parts: string[]): string;
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>;

Callers 12

attachDatabasesMethod · 0.80
initMethod · 0.80
getHashMethod · 0.80
initPathsFunction · 0.80
discoverEntitiesFunction · 0.80
getConfigFileMethod · 0.80
handlerMethod · 0.80
resolveOutputPathMethod · 0.80
checkPathsMethod · 0.80
getSnapshotPathMethod · 0.80
Utils.win.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected