Module legacy

Module legacy 

Source
Expand description

Read-only legacy journal parser supporting revisions 1, 2, and 3 (CTBMETA1, CTBMETA2, CTBMETA3) with lossless in-memory conversion to standard Document Characters and FileEntity records.

Constants§

JOURNAL_MAGIC_V1
TAG_BATCH_COMMIT
TAG_ENTITY
TAG_ERROR_RECORD
TAG_JOB_COMPLETED
TAG_SESSION_ENV
TAG_SESSION_HEADER
TAG_WARNING_RECORD

Functions§

convert_legacy_journal
Converts a legacy state journal (revisions 1..=3) to the current DcMixed journal format (CSCJRNL5). Embedded Dc identities are decoded strictly.
convert_legacy_journal_bytes
Converts in-memory legacy journal bytes to current DcMixed journal bytes (CSCJRNL5).
convert_legacy_journal_bytes_with_policy
Converts legacy journal bytes using an explicit embedded Dc projection policy.
convert_legacy_journal_with_policy
Converts a legacy journal with an explicit embedded Dc projection policy.
read_entity_payload
read_legacy_journal_snapshot
Reads a legacy state journal (revision 1..=3) from disk into a JournalSnapshot.