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

Method pathExists

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

Source from the content-addressed store, hash-verified

16export interface FsUtils {
17 init(): Promise<void>;
18 pathExists(path: string): boolean;
19 ensureDir(path: string): void;
20 readJSONSync<T = Dictionary>(path: string): T;
21 glob(input: string | string[], cwd?: string): string[];

Callers 12

detectSourceFolderMethod · 0.80
detectSourceFolderFunction · 0.80
getPackageConfigFunction · 0.80
getConfigPathsMethod · 0.80
getConfigFileMethod · 0.80
dumpDependenciesMethod · 0.80
handlerMethod · 0.80
resolveOutputPathMethod · 0.80
checkPathsMethod · 0.80
hasSnapshotMethod · 0.80
getSchemaFromSnapshotMethod · 0.80
Utils.win.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected