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

Function readFile

ark/aot/host.ts:147–148  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

145 })
146
147export const readFile = (path: string): string | undefined =>
148 existsSync(path) ? readFileSync(path, "utf8") : undefined
149
150// `"ark": { "aot": true }`
151export const optsIn = (

Callers 9

hashOfFileFunction · 0.90
loadIssueFeaturesFunction · 0.90
readsIssueFeaturesFunction · 0.90
builtOfFunction · 0.90
rollupScanOfFunction · 0.90
rollupUnseenOfFunction · 0.90
nameInFunction · 0.70
host.tsFile · 0.70
importsArktypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected