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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
//! The step for each path, decided from the operation, the lock and the state of the disk.
//!
//! # Responsibilities
//!
//! - [`StepError`]: every refusal of a file step.
//! - [`DiskFile`], [`DiskState`], [`Link`] and [`Resolution`]: the facts about a path on disk.
//! - [`Action`] and [`Step`]: what happens to a path.
//! - [`ReadOutcome`] and [`Reads`]: what a tool's reads returned, and which paths are shared.
//! - [`decide_proposed`] and [`decide_unproposed`]: the step for a proposed path and for a locked
//! path nothing proposes now.
//! - [`keep_shared_writes`]: the proposals a removed tool may still make.
//! - [`lock_contents`], [`Landed`] and [`airsl_pin`]: the new lock, in full or after a failed
//! swap.
//! - [`Plan`], [`BinaryCheck`], [`Skipped`], [`Note`] and [`AirslPin`]: the whole plan.
//! - [`AirslAnswer`], [`Finding`], [`file_finding`] and [`airsl_finding`]: the drift check against
//! the lock.
//! - [`race()`](fn@race) and [`Race`]: the check apply makes before it acts.
//!
//! # Non-responsibilities
//!
//! This file is an export-only module with no executable logic, so it carries no inline tests.
pub use Action;
pub use AirslAnswer;
pub use Exit;
pub use BinaryCheck;
pub use Plan;
pub use ProposedPath;
pub use decide_proposed;
pub use decide_unproposed;
pub use DiskFile;
pub use DiskState;
pub use Link;
pub use Resolution;
pub use airsl_finding;
pub use file_finding;
pub use StepError;
pub use Finding;
pub use Landed;
pub use airsl_pin;
pub use lock_contents;
pub use AirslPin;
pub use Note;
pub use Race;
pub use race;
pub use ReadOutcome;
pub use Reads;
pub use keep_shared_writes;
pub use Skipped;
pub use Step;