MCPcopy Index your code
hub / github.com/github/copilot-sdk / readYamlOutput

Function readYamlOutput

test/harness/replayingCapiProxy.test.ts:71–74  ·  view source on GitHub ↗
(outputPath: string)

Source from the content-addressed store, hash-verified

69 }
70
71 async function readYamlOutput(outputPath: string): Promise<NormalizedData> {
72 const content = await readFile(outputPath, "utf-8");
73 return yaml.parse(content) as NormalizedData;
74 }
75
76 test("does not write file when no chat completion exchanges", async () => {
77 const outputPath = path.join(tempDir, "output.yaml");

Callers 1

Calls 2

parseMethod · 0.80
readFileFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…