Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nuxt/nuxt
/ resetBuffer
Function
resetBuffer
packages/vite/src/plugins/vite-node.ts:424–427 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
422
}
423
424
const
resetBuffer = () => {
425
writeOffset = 0
426
readOffset = 0
427
}
428
429
const
compactBuffer = () => {
430
if
(readOffset > 0) {
Callers
1
createViteNodeSocketServer
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…