MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / removeGraphModule

Function removeGraphModule

packages/vite/hmr/server/websocket.ts:2346–2351  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

2344 }
2345 }
2346 function removeGraphModule(id: string) {
2347 if (!graph.has(id)) return;
2348 graph.delete(id);
2349 graphVersion++;
2350 emitDelta([], [id]);
2351 }
2352 async function populateInitialGraph(server: ViteDevServer) {
2353 if (graph.size) return; // already populated
2354 const root = server.config.root || process.cwd();

Callers

nothing calls this directly

Calls 2

emitDeltaFunction · 0.85
deleteMethod · 0.65

Tested by

no test coverage detected