MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / fullGraphPayload

Function fullGraphPayload

packages/vite/hmr/server/websocket.ts:2259–2269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2257 return ('00000000' + (h >>> 0).toString(16)).slice(-8);
2258 }
2259 function fullGraphPayload() {
2260 return {
2261 type: 'ns:hmr-full-graph',
2262 version: graphVersion,
2263 modules: Array.from(graph.values()).map((m) => ({
2264 id: m.id,
2265 deps: m.deps,
2266 hash: m.hash,
2267 })),
2268 };
2269 }
2270 function emitFullGraph(ws: WebSocket) {
2271 try {
2272 if (verbose) {

Callers 1

emitFullGraphFunction · 0.85

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected