MCPcopy Index your code
hub / github.com/Waishnav/devspace / assertWorkspaceAppAssets

Function assertWorkspaceAppAssets

src/server.ts:450–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

448}
449
450async function assertWorkspaceAppAssets(): Promise<void> {
451 const entry = getWorkspaceAppManifestEntry();
452 const candidates = [entry.file, ...(entry.css ?? [])].map(
453 (assetPath) => new URL(`../dist/ui/${assetPath}`, import.meta.url),
454 );
455
456 for (const candidate of candidates) {
457 await access(candidate);
458 }
459}
460
461function processResult(snapshot: ProcessSnapshot): string {
462 const status = snapshot.running

Callers 1

createMcpServerFunction · 0.85

Calls 1

Tested by

no test coverage detected