Skip to main content

storeEntryFor

HardKAS SDK


HardKAS SDK / artifacts/src / storeEntryFor

Function: storeEntryFor()

storeEntryFor(artifact): object

Defined in: packages/artifacts/src/store.ts:55

Where the store keeps an artifact (its path relative to .hardkas/artifacts) and the exact bytes it writes: the one definition writeArtifact uses, shared with anything that must reproduce or recognise those bytes (SIMULATOR-DURABLE-EXECUTION-1).

Parameters​

artifact​

any

Returns​

object

content​

content: string

rel​

rel: string