Skip to main content

Module journal

Module journal 

Source
Expand description

Journal recovery, retained at its original path for compatibility.

Enums§

Recovered
The outcome of a recover pass.

Constants§

JOURNAL_NAME
The workspace-root-relative name of the journal file. A single transient dotfile: it exists only between a change set’s commit point and its completion, so in steady state the workspace carries no journal at all, and no dotfolder is spawned to hold one. It survives a crash solely so recover can find it, and is removed the moment recovery (or a clean apply) finishes.

Functions§

recover
Finish any change set a crash left journaled at root, rolling the workspace forward to the fully-applied state, then remove the journal.