MCPcopy Create free account
hub / github.com/vercel/vercel / expectedRealPath

Function expectedRealPath

packages/cli-exec/tests/index.test.ts:36–42  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

34}
35
36async function expectedRealPath(filePath: string): Promise<string> {
37 try {
38 return await realpath(filePath);
39 } catch {
40 return path.resolve(filePath);
41 }
42}
43
44function writeExecutable(
45 filePath: string,

Callers 1

index.test.tsFile · 0.85

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected