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
//! Reconciling the lock with `agentstacks.toml`, and choosing tags.
//!
//! # Responsibilities
//!
//! - [`FetchError`]: every refusal of fetching a source.
//! - [`SourceKey`]: the key of one tool or pack entry, which orders and locates every per-entry answer.
//! - [`Reconciled`], [`reconcile()`], [`same_source`]: classifying every entry against the lock.
//! - [`check_tree`]: refusing a git tree that differs from the lock.
//! - [`GitStep`], [`unreadable`], [`unreadable_at`]: the refusal for git output that cannot be read.
//! - [`RemoteTag`], [`parse_ls_remote`], [`parse_ls_remote_at`]: reading `git ls-remote` tag lines.
//! - [`TreeRecord`], [`parse_ls_tree`], [`check_subdir`], [`root_label`]: reading `git ls-tree -z`
//! records and deciding the `subdir` from them.
//! - [`cache_home`], [`url_dir`], [`rev_dir`], [`temp_name`]: the layout of the git cache.
//! - [`TagVersion`], [`latest_tag`]: splitting a tag and choosing the latest.
//! - [`UpdateQuery`], [`UpdateEntry`], [`UpdateNote`]: what an update says about one git source.
//!
//! # Non-responsibilities
//!
//! This file is an export-only module with no executable logic, so it carries no inline tests.
pub use cache_home;
pub use rev_dir;
pub use temp_name;
pub use url_dir;
pub use check_tree;
pub use FetchError;
pub use SourceKey;
pub use TreeRecord;
pub use check_subdir;
pub use check_subdir_at;
pub use parse_ls_tree;
pub use parse_ls_tree_at;
pub use root_label;
pub use Reconciled;
pub use reconcile;
pub use same_source;
pub use RemoteTag;
pub use parse_ls_remote;
pub use parse_ls_remote_at;
pub use TagVersion;
pub use latest_tag;
pub use GitStep;
pub use first_line;
pub use unreadable;
pub use unreadable_at;
pub use UpdateEntry;
pub use UpdateNote;
pub use UpdateOutcome;
pub use UpdateQuery;