Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
export
const
readFile = (path: string): string => readFileSync(path).toString()
30
31
export
const
writeFile = (path: string, contents: string): string => {
32
writeFileSync(path, contents)
Callers
13
constructor
Method · 0.90
writeFileUpdates
Function · 0.90
snapPopulation.test.ts
File · 0.90
runThenGetContents
Function · 0.90
replaceTracked
Function · 0.90
headChangelog
Function · 0.90
checkVersionExport
Function · 0.90
rewriteDtsSpecifiers
Function · 0.90
updateSnippetsEntrypoint
Function · 0.90
rewriteFile
Function · 0.70
getSourceFileEntries
Function · 0.70
findReplaceMany
Function · 0.70
Calls
1
toString
Method · 0.65
Tested by
1
runThenGetContents
Function · 0.72