Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/donghaxkim/react-rewrite
/ isProjectFilePathSafe
Function
isProjectFilePathSafe
packages/cli/src/path-resolver.ts:55–57 ·
view source on GitHub ↗
(filePath: string, projectRoot: string)
Source
from the content-addressed store, hash-verified
53
}
54
55
export
function
isProjectFilePathSafe(filePath: string, projectRoot: string): boolean {
56
return
resolveProjectFilePath(filePath, projectRoot) !== null;
57
}
Callers
4
executeBatch
Function · 0.85
processQueue
Function · 0.85
createSketchServer
Function · 0.85
path-resolver.test.ts
File · 0.85
Calls
1
resolveProjectFilePath
Function · 0.85
Tested by
no test coverage detected