MCPcopy
hub / github.com/arktypeio/arktype / writeFile

Function writeFile

ark/fs/fs.ts:31–34  ·  view source on GitHub ↗
(path: string, contents: string)

Source from the content-addressed store, hash-verified

29export const readFile = (path: string): string => readFileSync(path).toString()
30
31export const writeFile = (path: string, contents: string): string => {
32 writeFileSync(path, contents)
33 return contents
34}
35
36export const rewriteFile = (
37 path: string,

Callers 10

writeFileUpdatesFunction · 0.90
traceFunction · 0.90
writeToCsvFunction · 0.90
writeLlmsTxtFunction · 0.90
updateSnippetsEntrypointFunction · 0.90
writeApiDataFileFunction · 0.85
dtsGenFunction · 0.85
rewriteFileFunction · 0.85
findReplaceManyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…