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

Method has

packages/vite/src/node/server/bundledDev.ts:55–57  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

53 }
54
55 has(file: string): boolean {
56 return this.files.has(file)
57 }
58
59 clear(): void {
60 this.files.clear()

Callers 15

configResolvedFunction · 0.80
handleMessageFunction · 0.80
updateStyleFunction · 0.80
removeStyleFunction · 0.80
ensureModuleMethod · 0.80
normalizeModuleIdFunction · 0.80
getModulesEntrypointsFunction · 0.80
isCircularRequestMethod · 0.80
constructorMethod · 0.80
createIsBuiltinFunction · 0.80
stringifyConsoleArgFunction · 0.80
perEnvironmentStateFunction · 0.80

Calls

no outgoing calls

Tested by 1

editFileFunction · 0.64