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

Function readFile

ark/fs/fs.ts:29–29  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

27}
28
29export const readFile = (path: string): string => readFileSync(path).toString()
30
31export const writeFile = (path: string, contents: string): string => {
32 writeFileSync(path, contents)

Callers 13

constructorMethod · 0.90
writeFileUpdatesFunction · 0.90
runThenGetContentsFunction · 0.90
replaceTrackedFunction · 0.90
headChangelogFunction · 0.90
checkVersionExportFunction · 0.90
rewriteDtsSpecifiersFunction · 0.90
updateSnippetsEntrypointFunction · 0.90
rewriteFileFunction · 0.70
getSourceFileEntriesFunction · 0.70
findReplaceManyFunction · 0.70

Calls 1

toStringMethod · 0.65

Tested by 1

runThenGetContentsFunction · 0.72