Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ptmt/react-native-macos
/ virtualModule
Function
virtualModule
packager/src/ModuleGraph/output/util.js:76–85 ·
view source on GitHub ↗
(code: string)
Source
from the content-addressed store, hash-verified
74
// with the given source code.
75
exports.virtualModule = virtualModule;
76
function
virtualModule(code: string) {
77
return
{
78
dependencies: [],
79
file: {
80
code,
81
path:
''
,
82
type
:
'script'
,
83
},
84
};
85
}
Callers
2
prelude
Function · 0.85
util.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…