MCPcopy Create free account
hub / github.com/pmxt-dev/pmxt / restoreGeneratedFiles

Function restoreGeneratedFiles

core/test/unit/openapi-code-samples.test.js:20–24  ·  view source on GitHub ↗
(snapshot)

Source from the content-addressed store, hash-verified

18}
19
20function restoreGeneratedFiles(snapshot) {
21 for (const [filePath, contents] of snapshot) {
22 fs.writeFileSync(filePath, contents, 'utf8');
23 }
24}
25
26function collectSampleClassNames(spec, language) {
27 return [

Callers 1

withGeneratedSpecFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected