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

Function isApp

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

Source from the content-addressed store, hash-verified

2189 function computeTxnOrderForChanged(changedIds: string[]): string[] {
2190 const includeExt = (id: string) => ACTIVE_STRATEGY.matchesFile(id) || /\.(ts|js|mjs|tsx|jsx)$/i.test(id);
2191 const isApp = (id: string) => id.startsWith(APP_VIRTUAL_WITH_SLASH);
2192 const roots = changedIds.map(normalizeGraphId).filter((id) => graph.has(id) && (isApp(id) || ACTIVE_STRATEGY.matchesFile(id)) && includeExt(id));
2193 const toVisit = new Set<string>();
2194 // Collect dependency closure (downstream deps from roots)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected