MCPcopy Create free account
hub / github.com/arktypeio/arktype / write

Function write

ark/repo/testNextDev.ts:212–215  ·  view source on GitHub ↗
(path: string, contents: string)

Source from the content-addressed store, hash-verified

210}
211
212const write = (path: string, contents: string) => {
213 mkdirSync(dirname(join(appDir, path)), { recursive: true })
214 writeFileSync(join(appDir, path), contents)
215}
216
217// what a dev server prints a moment after it answers
218const assertLogged = async (

Callers 1

testNextDev.tsFile · 0.70

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected