MCPcopy
hub / github.com/vitejs/vite / prune

Method prune

packages/vite/src/shared/hmr.ts:91–93  ·  view source on GitHub ↗
(cb: (data: any) => void)

Source from the content-addressed store, hash-verified

89 }
90
91 prune(cb: (data: any) => void): void {
92 this.hmrClient.pruneMap.set(this.ownerPath, cb)
93 }
94
95 // Kept for backward compatibility (#11036)
96 // eslint-disable-next-line @typescript-eslint/no-empty-function

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected