Skip to content

entitySignatureHash

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/techdocs/staleness.ts

A stable hash of an entity's PUBLIC SIGNATURE (not its body/formatting). Two parses of the same logical API produce the same hash; a signature change (new method, changed return type, new field, new endpoint shape) changes it. Moves/renames of unrelated code do not.

Signature

ts
function entitySignatureHash(entity: Entity): string

Parameters

NameType
entityEntity

Returns: string

Was this page helpful?

Download as PDF