BobbinMeta

@Serializable
data class BobbinMeta(val hash: BobbinHash, val variantOf: VariantKey?)

A manifest entry: a content-addressed bobbin plus optional variant provenance.

variantOf == null is a raw/source bobbin (the pre-variant meaning — every bobbin the C5 path published was implicitly this). A non-null variantOf marks a compiled variant. The hash is always hash(bytes), so Creel's content-addressing invariant is untouched; provenance rides alongside, never replacing the key.

Determinism invariant: a given hash always carries the same variantOf (the bytes are either always raw or always the variant-of-X they hash to), so the grow-only manifest GSet never holds two conflicting entries for one hash.

Constructors

Link copied to clipboard
constructor(hash: BobbinHash, variantOf: VariantKey?)

Properties

Link copied to clipboard
Link copied to clipboard