MCPcopy
hub / github.com/github/awesome-copilot / showRecipeContent

Function showRecipeContent

website/src/scripts/pages/samples.ts:312–319  ·  view source on GitHub ↗

* Show recipe/example content in modal

(
  filePath: string,
  type: "recipe" | "example"
)

Source from the content-addressed store, hash-verified

310 * Show recipe/example content in modal
311 */
312async function showRecipeContent(
313 filePath: string,
314 type: "recipe" | "example"
315): Promise<void> {
316 // Use existing modal infrastructure
317 const { openFileModal } = await import("../modal");
318 await openFileModal(filePath, type);
319}
320
321/**
322 * Update results count display

Callers 1

setupRecipeListenersFunction · 0.85

Calls 1

openFileModalFunction · 0.85

Tested by

no test coverage detected