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

Function statOf

ark/aot/nextProgram.ts:277–283  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

275
276// what a link points to, or nothing where it points nowhere
277const statOf = (path: string) => {
278 try {
279 return statSync(path)
280 } catch {
281 return undefined
282 }
283}
284
285export interface NextConfigLike {
286 pageExtensions?: unknown

Callers 1

walkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected