Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactnativecn/react-native-update
/ relativeToProject
Function
relativeToProject
scripts/build-harmony-har.js:440–442 ·
view source on GitHub ↗
(filePath)
Source
from the content-addressed store, hash-verified
438
}
439
440
function
relativeToProject(filePath) {
441
return
path.relative(projectRoot, filePath) ||
'.'
;
442
}
443
444
function
fail(message) {
445
throw
new
Error(message);
Callers
3
buildHar
Function · 0.85
syncHarmonyNativeSources
Function · 0.85
ensureWrapperProject
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected