Expand description
Resume only verified blocks of a pinned content manifest (SVC-01.14).
A pin holds one ContentManifest. Verified bits are a u8 bitmap aligned
to MAX_RANGES (8). An unverified block is not transferred
(QdnfError::Incomplete). A different digest cannot resume into an
existing pin (QdnfError::Conflict). Container generation is not a QSync
root. Packages remain open.
Structs§
- Resume
Table - Four pinned manifests, each with an 8-bit verified bitmap.
Constants§
- MAX_
PINNED - Maximum concurrently pinned manifests.
Functions§
- container_
generation_ is_ qsync_ root - Container generation is not an authorized QSync root (SVC-01.14).
- mark_
verified - Mark range
block_indexverified onpin. Only indices in0..range_countof the pinned manifest may be marked. - pin
- Pin
manifest. Same digest is idempotent (same pin id). Fifth distinct digest isQdnfError::Capacity. - resume_
block - Resume range
block_indexofpin. Ok only when that range is verified. Unverified isQdnfError::Incomplete, not transferred. - resume_
digest - A different digest cannot resume into this pin.
- resume_
unverified_ is_ allowed - Unverified blocks are never treated as transferred.