1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! What:
//! Durable transaction state:
//! owner records,
//! journal,
//! phases and recovery.
//! Why:
//! Every durable state shares one fail-closed recovery.
//!
//! In TS you'd write (pseudocode):
//! ```ts
//! // transaction/index.ts: one `export * from './file'` per module below.
//! ```
/// The fail-closed failure of reading or recovering durable transaction state.
/// The owner record of one commit-transaction directory and its liveness rule.
/// The schema-version-2 journal records of one commit transaction and their filenames.
/// Running real Git for transaction,
/// recovery and landing work.
/// The request, reply and failure types of the Git runner and the text of a command line.
/// Which Git steps may be run again after a refused process and which may be ended at a ceiling.
/// How long a Git step is waited for and what happens at the bound.
/// No-follow file operations recovery and landing share.
/// Test-only transaction phase markers, compiled into the release executable and armed only by an environment variable.