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

Function fingerprintOfCode

ark/aot/cache.ts:132–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130// persistent cache, which a module's dependencies don't turn over as the
131// code changes without a version
132export const fingerprintOfCode = (): string => (fingerprint ??= fingerprintOf())
133
134export const mtimeOf = (file: string): number =>
135 statSync(file, { throwIfNoEntry: false })?.mtimeMs ?? -1

Callers 2

keepCompilerFunction · 0.90
constructorMethod · 0.85

Calls 1

fingerprintOfFunction · 0.70

Tested by

no test coverage detected