Skip to main content

Module package

Module package 

Source
Expand description

Logical collectable: HMC archive of HCF + definition N3 + .10d visual.

Large Q42 volumes are dependencies, not this package. Native builds may also embed a small .q42 compiled from the definition graph.

Structs§

CollectableParts
Parts of one collectable before digest is sealed.
OpenedCollectable
Opened HMC collectable.

Constants§

KEY_GRAPH
KEY_HCF
KEY_MANIFEST
KEY_Q42
KEY_VISUAL
MAX_COLLECTABLE_BYTES
MAX_MEMBERS
MAX_MEMBER_BYTES

Functions§

build_collectable
Build an HMC collectable. The sealed content_digest is the SHA-256 of the bundle bytes after members (including a digest-less manifest) are packed, then the manifest is rewritten… To keep a single pass: digest is of all members except the manifest; the manifest records that digest; the bundle digest is SHA-256 of the finished HMC.
hcf_from_manifest
yaml-ld-q42 style HCF document for a collectable (authoring layer).
open_collectable
Opens collectable.
reject_traversal_key
Ok(()) when the key is not a traversal key.