Skip to main content

Module migration

Module migration 

Source
Expand description

Durable, encrypted migration manifests and source archives.

A migration import changes two things which must agree: the vault document and the source identity used to reconcile the next import. These tables live in SQLCipher beside the document, so a source path, an unsupported stanza or a template’s original bytes never escape into an unencrypted sidecar.

Structs§

ArchiveInfo
MigrationInfo
MigrationItem
MigrationRecord
PreviousItem
SourceArchive

Functions§

archive_bytes
archives
init_schema
Creates the R08 additive tables. Their contents are encrypted because the containing SQLCipher database is encrypted; no source content is copied to a filesystem cache.
known_source_ids
Every source id the latest record of which still describes something that was imported or skipped as unchanged, for one source kind. Archived-only items are not included: they are not entries, so there is nothing in the vault to compare.
migration
migrations
previous_item
Latest persisted source state, independent of which migration first saw it.
record_txn
Writes a migration manifest inside the caller’s write transaction.