Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ptmt/react-native-macos
/ createFile
Function
createFile
packager/src/ModuleGraph/__tests__/Graph-test.js:365–367 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
363
}
364
365
function
createFile(id) {
366
return
{ast: {}, path: idToPath(id)};
367
}
368
369
function
createModule(id, dependencies = []): Module {
370
return
{
Callers
2
Graph-test.js
File · 0.85
createModule
Function · 0.85
Calls
1
idToPath
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…