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

Function currentMtimeOf

ark/aot/driver.ts:1145–1145  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

1143 const precompile = (source: string, id: string): KeyedModule => {
1144 const mtimes: Record<string, number> = {}
1145 const currentMtimeOf = (file: string) => (mtimes[file] ??= mtimeOf(file))
1146 if (hasChanged(tracked.readTimes, currentMtimeOf)) {
1147 tracked =
1148 keptAcross(

Callers 2

hasChangedFunction · 0.85
keyedModuleOfFunction · 0.85

Calls 1

mtimeOfFunction · 0.90

Tested by

no test coverage detected