MCPcopy Create free account
hub / github.com/observablehq/framework / writeFile

Function writeFile

src/create.ts:34–36  ·  view source on GitHub ↗
(outputPath: string, contents: string)

Source from the content-addressed store, hash-verified

32 await copyFile(sourcePath, outputPath);
33 },
34 async writeFile(outputPath: string, contents: string): Promise<void> {
35 await writeFile(outputPath, contents);
36 }
37};
38
39export async function create(effects: CreateEffects = defaultEffects): Promise<void> {

Callers 14

rewriteJsrImportsFunction · 0.70
populateNpmCacheFunction · 0.70
createFunction · 0.70
cacheDuckDBExtensionFunction · 0.70
buildFunction · 0.70
writeFileMethod · 0.70
writeBuildManifestMethod · 0.70
getPersistentIdMethod · 0.70
markdown-test.tsFile · 0.50
build-test.tsFile · 0.50
loader-test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected