Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ stripRelativePath
Function
stripRelativePath
packages/internals/src/resolveOutput.ts:44–49 ·
view source on GitHub ↗
(pathString: string)
Source
from the content-addressed store, hash-verified
42
}
43
44
function
stripRelativePath(pathString: string): string {
45
if
(pathString.startsWith(
'./'
)) {
46
return
pathString.slice(2)
47
}
48
return
pathString
49
}
Callers
1
resolveOutput
Function · 0.85
Calls
1
slice
Method · 0.45
Tested by
no test coverage detected