MCPcopy Create free account
hub / github.com/Snapchat/Valdi / fileExists

Method fileExists

compiler/companion/src/project/TypeScriptHosts.ts:93–95  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

91 }
92
93 fileExists(path: string): boolean {
94 return this.fileManager.fileExists(this.fileManager.resolvePath(path));
95 }
96
97 readFile(path: string): string | undefined {
98 const resolvedPath = this.fileManager.resolvePath(path);

Callers 1

getFileSystemEntriesFunction · 0.45

Calls 1

resolvePathMethod · 0.45

Tested by

no test coverage detected