Skip to main content

resolveLineageChain

HardKAS SDK


HardKAS SDK / artifacts/src / resolveLineageChain

Function: resolveLineageChain()

resolveLineageChain(artifact, lookup?, maxHops?): ResolvedLineageChain

Defined in: packages/artifacts/src/lineage-chain.ts:98

Walks the provenance chain of an artifact through the workspace store (see ResolvedLineageChain).

Parameters​

artifact​

any

lookup?​

ParentLookup = {}

maxHops?​

number = MAX_LINEAGE_HOPS

Returns​

ResolvedLineageChain