Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
function
restoreGeneratedFiles(snapshot) {
21
for
(
const
[filePath, contents] of snapshot) {
22
fs.writeFileSync(filePath, contents,
'utf8'
);
23
}
24
}
25
26
function
collectSampleClassNames(spec, language) {
27
return
[
Callers
1
withGeneratedSpec
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected