Skip to content

diffEntities

reference
1 min readUpdated

Kind: Function

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

Diff a previous hash map against the current entities → what to regenerate/upsert/delete.

Signature

ts
function diffEntities(prevHashes: Record<string, string>, entities: Entity[]): EntityDiff

Parameters

NameType
prevHashesRecord<string, string>
entitiesEntity[]

Returns: EntityDiff

Was this page helpful?

Download as PDF