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

Method writeFile

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

Source from the content-addressed store, hash-verified

20 mkdir(outputPath: string, options?: {recursive?: boolean}): Promise<void>;
21 copyFile(sourcePath: string, outputPath: string): Promise<void>;
22 writeFile(outputPath: string, contents: string): Promise<void>;
23}
24
25const defaultEffects: CreateEffects = {

Callers 1

recursiveCopyTemplateFunction · 0.65

Implementers 1

TestCreateEffectstest/create-test.ts

Calls

no outgoing calls

Tested by

no test coverage detected