Skip to main content

git_policy_cli/transaction/
mod.rs

1//! What:
2//!  Durable transaction state:
3//!  owner records,
4//!  journal,
5//!  phases and recovery.
6//! Why:
7//!  Every durable state shares one fail-closed recovery.
8//!
9//! In TS you'd write (pseudocode):
10//! ```ts
11//! // transaction/index.ts: one `export * from './file'` per module below.
12//! ```
13
14/// The fail-closed failure of reading or recovering durable transaction state.
15pub mod recovery_error;
16
17/// The owner record of one commit-transaction directory and its liveness rule.
18pub mod transaction_owner;
19
20/// The schema-version-2 journal records of one commit transaction and their filenames.
21pub mod transaction_journal;
22
23/// Running real Git for transaction,
24///  recovery and landing work.
25pub mod transaction_git;
26
27/// No-follow file operations recovery and landing share.
28pub mod recovery_files;
29
30/// Test-only transaction phase markers, compiled into the release executable and armed only by an environment variable.
31pub mod transaction_phase;