MCPcopy 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
440function relativeToProject(filePath) {
441 return path.relative(projectRoot, filePath) || '.';
442}
443
444function fail(message) {
445 throw new Error(message);

Callers 3

buildHarFunction · 0.85
syncHarmonyNativeSourcesFunction · 0.85
ensureWrapperProjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected