MCPcopy Create free account
hub / github.com/nodejs/node / supportedInUserSnapshot

Function supportedInUserSnapshot

lib/internal/main/mksnapshot.js:99–101  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

97
98const warnedModules = new SafeSet();
99function supportedInUserSnapshot(id) {
100 return supportedModules.has(id);
101}
102
103function requireForUserSnapshot(id) {
104 const normalizedId = normalizeRequirableId(id);

Callers 1

requireForUserSnapshotFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected